#D17EE8

Closest named color: Orchid (#DA70D6). oklch(72% 0.171 318.7), rgb(209, 126, 232).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.171)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.86:1
White text2.67:1

Values

HEX#D17EE8
RGBrgb(209, 126, 232)
HSLhsl(287, 70%, 70%)
OKLCHoklch(72% 0.171 318.7)

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 #D17EE8 2.67:1 Fails Lc -56.8 Large or bold text, headings
Black text on #D17EE8 7.86:1 AAA Lc 52.4 Large or bold text, headings
#D17EE8 text on white 2.67:1 Fails Lc 51.6 Large or bold text, headings
#D17EE8 text on black 7.86:1 AAA Lc -50.3 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

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACDF3

    oklch(88.4% 0.06 318.1)

  4. Step 300

    300

    #DEABED

    oklch(81% 0.106 318.4)

  5. Step 400

    400 (this color)

    #D17EE8

    oklch(72% 0.171 318.7)

  6. Step 500

    500

    #BE51DB

    oklch(63.1% 0.217 318.6)

  7. Step 600

    600

    #AA2BC9

    oklch(55.7% 0.237 318.6)

  8. Step 700

    700

    #9219AD

    oklch(49.1% 0.22 319)

  9. Step 800

    800

    #761A8C

    oklch(42.6% 0.182 318.7)

  10. Step 900

    900

    #601F70

    oklch(37.7% 0.142 319)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#D17EE8 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)#6C99EC0.152
Deuteranopia (no green cones)#84A1E50.136
Tritanopia (no blue cones)#D18CA80.109
Achromatopsia (no color)#9E9E9E0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17EE8

    #D17EE8

    oklch(72% 0.171 318.7)

  • #68BD4C

    #68BD4C

    oklch(72% 0.171 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17EE8

    #D17EE8

    oklch(72% 0.171 318.7)

  • #A292FF

    #A292FF

    oklch(72% 0.155 288.6)

  • #F072B6

    #F072B6

    oklch(72% 0.172 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #D17EE8

    #D17EE8

    oklch(72% 0.171 318.7)

  • #AEAB00

    #AEAB00

    oklch(72% 0.156 108.5)

  • #00C194

    #00C194

    oklch(72% 0.145 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17EE8

    #D17EE8

    oklch(72% 0.171 318.7)

  • #D79700

    #D79700

    oklch(72% 0.15 78.4)

  • #00BBC1

    #00BBC1

    oklch(71.9% 0.122 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17EE8

    #D17EE8

    oklch(72% 0.171 318.7)

  • #F77E32

    #F77E32

    oklch(72% 0.171 48.7)

  • #68BD4C

    #68BD4C

    oklch(72% 0.171 138.7)

  • #00B4EA

    #00B4EA

    oklch(72% 0.141 228.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #D17EE8 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.