#D17DEA

Closest named color: Orchid (#DA70D6). oklch(72% 0.174 318.1), rgb(209, 125, 234).

Aa

Black text reads best on this color (7.83:1).

About this color

#D17DEA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.174 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.038 away. Black text reads best on it, at 7.83:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.174)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.83:1
White text2.68:1

Values

HEX#D17DEA
RGBrgb(209, 125, 234)
HSLhsl(286, 72%, 70%)
OKLCHoklch(72% 0.174 318.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D17DEA 2.68:1 Fails Lc -57.0 Large or bold text, headings
Black text on #D17DEA 7.83:1 AAA Lc 52.3 Large or bold text, headings
#D17DEA text on white 2.68:1 Fails Lc 51.8 Large or bold text, headings
#D17DEA text on black 7.83:1 AAA Lc -50.1 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF4

    oklch(88.5% 0.061 317.4)

  4. Step 300

    300

    #DEAAEE

    oklch(80.8% 0.109 318.1)

  5. Step 400

    400 (this color)

    #D17DEA

    oklch(72% 0.174 318.1)

  6. Step 500

    500

    #BF4FDE

    oklch(63.1% 0.223 318.2)

  7. Step 600

    600

    #AA27CB

    oklch(55.5% 0.242 318.2)

  8. Step 700

    700

    #9215B0

    oklch(49.1% 0.225 318.2)

  9. Step 800

    800

    #77188E

    oklch(42.7% 0.186 318.5)

  10. Step 900

    900

    #601E72

    oklch(37.8% 0.145 318.1)

  11. Step 950

    950

    #381343

    oklch(26.9% 0.093 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#D17DEA with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6A98EE0.154
Deuteranopia (no green cones)#82A1E70.139
Tritanopia (no blue cones)#D18CA90.112
Achromatopsia (no color)#9E9E9E0.176

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D17DEA

    #D17DEA

    oklch(72% 0.174 318.1)

  • #68BD48

    #68BD48

    oklch(72% 0.174 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17DEA

    #D17DEA

    oklch(72% 0.174 318.1)

  • #A192FF

    #A192FF

    oklch(71.9% 0.155 288.2)

  • #F071B7

    #F071B7

    oklch(71.9% 0.174 348.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D17DEA

    #D17DEA

    oklch(72% 0.174 318.1)

  • #AEAB00

    #AEAB00

    oklch(72% 0.156 108.5)

  • #00C193

    #00C193

    oklch(72% 0.146 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17DEA

    #D17DEA

    oklch(72% 0.174 318.1)

  • #D79700

    #D79700

    oklch(72% 0.15 78.4)

  • #00BBC0

    #00BBC0

    oklch(71.9% 0.122 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17DEA

    #D17DEA

    oklch(72% 0.174 318.1)

  • #F97C2F

    #F97C2F

    oklch(71.9% 0.175 48)

  • #68BD48

    #68BD48

    oklch(72% 0.174 138.2)

  • #00B4E9

    #00B4E9

    oklch(71.9% 0.14 228.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D17DEA, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D17DEA in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.