#D17FE8

Closest named color: Orchid (#DA70D6). oklch(72.2% 0.169 318.6), rgb(209, 127, 232).

Aa

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

About this color

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

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

Values

HEX#D17FE8
RGBrgb(209, 127, 232)
HSLhsl(287, 70%, 70%)
OKLCHoklch(72.2% 0.169 318.6)

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 #D17FE8 2.65:1 Fails Lc -56.5 Large or bold text, headings
Black text on #D17FE8 7.91:1 AAA Lc 52.7 Large or bold text, headings
#D17FE8 text on white 2.65:1 Fails Lc 51.4 Large or bold text, headings
#D17FE8 text on black 7.91:1 AAA Lc -50.5 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

    #EACDF2

    oklch(88.4% 0.059 318.9)

  4. Step 300

    300

    #DEABED

    oklch(81% 0.106 318.4)

  5. Step 400

    400 (this color)

    #D17FE8

    oklch(72.2% 0.169 318.6)

  6. Step 500

    500

    #BE52DB

    oklch(63.2% 0.216 318.5)

  7. Step 600

    600

    #A92CC8

    oklch(55.5% 0.235 318.5)

  8. Step 700

    700

    #911CAD

    oklch(49.1% 0.218 318.5)

  9. Step 800

    800

    #761C8C

    oklch(42.7% 0.18 318.6)

  10. Step 900

    900

    #5F2070

    oklch(37.7% 0.14 318.3)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#D17FE8 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)#6E99EC0.149
Deuteranopia (no green cones)#85A2E50.134
Tritanopia (no blue cones)#D18DA90.108
Achromatopsia (no color)#9F9F9F0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17FE8

    #D17FE8

    oklch(72.2% 0.169 318.6)

  • #6ABD4E

    #6ABD4E

    oklch(72.1% 0.168 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17FE8

    #D17FE8

    oklch(72.2% 0.169 318.6)

  • #A293FF

    #A293FF

    oklch(72.2% 0.154 288.3)

  • #F074B7

    #F074B7

    oklch(72.3% 0.169 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #D17FE8

    #D17FE8

    oklch(72.2% 0.169 318.6)

  • #AEAC00

    #AEAC00

    oklch(72.2% 0.157 108.9)

  • #00C195

    #00C195

    oklch(72.1% 0.144 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17FE8

    #D17FE8

    oklch(72.2% 0.169 318.6)

  • #D79800

    #D79800

    oklch(72.2% 0.15 79)

  • #00BCC1

    #00BCC1

    oklch(72.2% 0.123 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17FE8

    #D17FE8

    oklch(72.2% 0.169 318.6)

  • #F77F35

    #F77F35

    oklch(72.2% 0.169 48.6)

  • #6ABD4E

    #6ABD4E

    oklch(72.1% 0.168 138.6)

  • #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 #D17FE8, closest first.

Similar named colors

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

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