#D17FE9

Closest named color: Orchid (#DA70D6). oklch(72.2% 0.17 318.3), rgb(209, 127, 233).

Aa

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

About this color

#D17FE9 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.170 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.039 away. Black text reads best on it, at 7.92:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.170)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.92:1
White text2.65:1

Values

HEX#D17FE9
RGBrgb(209, 127, 233)
HSLhsl(286, 71%, 71%)
OKLCHoklch(72.2% 0.17 318.3)

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 #D17FE9 2.65:1 Fails Lc -56.5 Large or bold text, headings
Black text on #D17FE9 7.92:1 AAA Lc 52.7 Large or bold text, headings
#D17FE9 text on white 2.65:1 Fails Lc 51.3 Large or bold text, headings
#D17FE9 text on black 7.92:1 AAA Lc -50.6 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)

    #D17FE9

    oklch(72.2% 0.17 318.3)

  6. Step 500

    500

    #BE51DC

    oklch(63.1% 0.218 318.3)

  7. Step 600

    600

    #A92CC9

    oklch(55.6% 0.236 318.2)

  8. Step 700

    700

    #911BAE

    oklch(49.1% 0.219 318.2)

  9. Step 800

    800

    #761B8D

    oklch(42.7% 0.182 318.3)

  10. Step 900

    900

    #5F1F71

    oklch(37.7% 0.142 317.9)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#D17FE9 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)#6D99ED0.150
Deuteranopia (no green cones)#84A2E60.135
Tritanopia (no blue cones)#D18DA90.109
Achromatopsia (no color)#9F9F9F0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17FE9

    #D17FE9

    oklch(72.2% 0.17 318.3)

  • #6ABD4C

    #6ABD4C

    oklch(72.1% 0.17 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17FE9

    #D17FE9

    oklch(72.2% 0.17 318.3)

  • #A293FF

    #A293FF

    oklch(72.2% 0.154 288.3)

  • #F073B7

    #F073B7

    oklch(72.2% 0.171 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #D17FE9

    #D17FE9

    oklch(72.2% 0.17 318.3)

  • #AFAC00

    #AFAC00

    oklch(72.3% 0.156 108.5)

  • #00C294

    #00C294

    oklch(72.3% 0.146 168.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17FE9

    #D17FE9

    oklch(72.2% 0.17 318.3)

  • #D89700

    #D89700

    oklch(72.2% 0.15 77.9)

  • #00BCC1

    #00BCC1

    oklch(72.2% 0.123 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17FE9

    #D17FE9

    oklch(72.2% 0.17 318.3)

  • #F87F35

    #F87F35

    oklch(72.3% 0.17 48.4)

  • #6ABD4C

    #6ABD4C

    oklch(72.1% 0.17 138.3)

  • #00B5EB

    #00B5EB

    oklch(72.2% 0.142 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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