CSS named color

Orchid #DA70D6

orchid rgb(218, 112, 214)

Orchid is a magenta with the hex code #DA70D6, which converts to rgb(218, 112, 214). Open #DA70D6 in the converter to tweak it.

Orchid color values

HEX#DA70D6
HEX (shorthand)—
RGBrgb(218, 112, 214)
RGBArgba(218, 112, 214, 1)
8-digit HEX#DA70D6FF
HSLhsl(302, 59%, 65%)
HSV / HSB302°, 49%, 85%
CMYK0%, 49%, 2%, 15%
RGB 0–10.855, 0.439, 0.839
Decimal14315734
CSS keywordorchid

How #DA70D6 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: DA → 218, 70 → 112, D6 → 214. That gives rgb(218, 112, 214). The step-by-step guide explains the math.

Shades of Orchid

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Orchid

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Orchid on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Orchid 2.88:1Fail
Black Orchid 7.26:1AAA

Use black text on a orchid background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Orchid in CSS

.element {
  color: orchid;                         /* keyword */
  background-color: #DA70D6;            /* hex */
  border-color: rgb(218 112 214 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #DA70D680 is Orchid at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Orchid?

The CSS named color orchid is #DA70D6 in hexadecimal. In CSS you can write color: orchid; or color: #DA70D6; — both produce the same pixel.

What is Orchid in RGB?

Orchid is rgb(218, 112, 214): red 218, green 112, blue 214 on the 0–255 scale. As normalized 0–1 floats that is (0.855, 0.439, 0.839).

Is white or black text more readable on Orchid?

Black text is more readable. White on #DA70D6 has a contrast ratio of 2.88:1 (Fail), black on #DA70D6 has 7.26:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!