Free Accessible CSS Gradient Generator

← All Colors
#DA70D6 Orchid

Orchid Hex Code #DA70D6

Orchid is a light, moderate purple with the hex code #DA70D6. In RGB it is 218, 112, 214, and in HSL it is 302°, 59%, 65%. It is one of the 148 named colors in CSS, so you can write “orchid” instead of the hex code.

HEX
#DA70D6
RGB
rgb(218, 112, 214)
HSL
hsl(302, 59%, 65%)
HSV
hsv(302°, 49%, 85%)
CMYK
cmyk(0%, 49%, 2%, 15%)
CSS name
orchid

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Orchid

On a white background Orchid has a contrast ratio of 2.89:1 (Fail), and on black 7.27:1 (AAA). Black text is the better choice on top of it.

It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.

Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.

Shades and tints of Orchid

Tints mix Orchid with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Orchid

These schemes are calculated from Orchid on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Orchid is #B8DA70, close to the named color Khaki.

Orchid contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Orchid scores against white and black.

Contrast of Orchid with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 2.89:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 7.27:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Orchid2.89:1
Aa Black text on Orchid7.27:1

Orchid and color blindness

These are approximate previews of how Orchid can look with the main types of color vision deficiency.

Protanopia #688FD9

Orchid changes noticeably.

Deuteranopia #879DD3

Orchid changes noticeably.

Tritanopia #E07A99

Orchid changes noticeably.

Achromatopsia #989898

Orchid changes noticeably.

Gradients with Orchid

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Orchid to a lighter tint

background: linear-gradient(135deg, #da70d6 0%, #f0c6ef 100%);

Orchid to its analogous neighbour

background: linear-gradient(135deg, #da70d6 0%, #da70a1 100%);

Orchid to its complement

background: linear-gradient(135deg, #da70d6 0%, #70da74 100%);

Colors similar to Orchid

How each close match differs from Orchid.

More purple colors →

Use Orchid in code

CSS
.element {
  color: #da70d6;
  background-color: #da70d6;
  border-color: orchid;   /* orchid is a valid CSS color name */
}
CSS variable
:root {
  --color-orchid: #da70d6;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#da70d6] text-[#da70d6] border-[#da70d6]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-orchid: #da70d6;
}

Orchid questions

What is the hex code for Orchid?

The hex code for Orchid is #DA70D6. In RGB that is rgb(218, 112, 214), and in HSL it is hsl(302, 59%, 65%).

What is the complementary color of Orchid?

On the RGB (screen) color wheel, the complement of Orchid is #70DA74, which is close to Light Green. On the artist’s RYB wheel it is #B8DA70, close to Khaki.

Should I use white or black text on Orchid?

Black text. It has a contrast ratio of 7.27:1 against Orchid, which is WCAG AAA. The other option scores 2.89:1.

Is Orchid accessible as a text color on white?

No. Orchid on white scores 2.89:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Orchid?

Mixing Orchid with black gives #AE5AAB, #834380, #572D56, #2C162B (20% to 80% black). Mixing it with white gives #E18DDE, #E9A9E6, #F0C6EF, #F8E2F7 (20% to 80% white).

More color tools