#D170EE

Closest named color: Light Purple (#BF77F6). oklch(70.3% 0.199 317.9), rgb(209, 112, 238).

Aa

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

About this color

#D170EE is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.199 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.034 away. Black text reads best on it, at 7.26:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.199)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.26:1
White text2.89:1

Values

HEX#D170EE
RGBrgb(209, 112, 238)
HSLhsl(286, 79%, 69%)
OKLCHoklch(70.3% 0.199 317.9)

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 #D170EE 2.89:1 Fails Lc -60.0 Content text, not long reading
Black text on #D170EE 7.26:1 AAA Lc 49.3 Large or bold text, headings
#D170EE text on white 2.89:1 Fails Lc 54.7 Large or bold text, headings
#D170EE text on black 7.26:1 AAA Lc -47.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #EDCBF7

    oklch(88.4% 0.07 318.5)

  4. Step 300

    300

    #E2A7F5

    oklch(81% 0.124 317.7)

  5. Step 400

    400 (this color)

    #D170EE

    oklch(70.3% 0.199 317.9)

  6. Step 500

    500

    #C53FEA

    oklch(63.1% 0.255 317.8)

  7. Step 600

    600

    #AF00D5

    oklch(55.5% 0.269 317.9)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #631279

    oklch(37.7% 0.166 317.5)

  11. Step 950

    950

    #3A0E47

    oklch(26.9% 0.106 317.3)

Export this scale for Tailwind in the Tailwind colors tool

#D170EE 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)#5691F20.182
Deuteranopia (no green cones)#759BEB0.161
Tritanopia (no blue cones)#D183A50.127
Achromatopsia (no color)#9898980.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #D170EE

    #D170EE

    oklch(70.3% 0.199 317.9)

  • #58BA29

    #58BA29

    oklch(70.3% 0.198 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D170EE

    #D170EE

    oklch(70.3% 0.199 317.9)

  • #9C8BFF

    #9C8BFF

    oklch(70.3% 0.166 288.1)

  • #F361B5

    #F361B5

    oklch(70.2% 0.199 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #D170EE

    #D170EE

    oklch(70.3% 0.199 317.9)

  • #A9A500

    #A9A500

    oklch(70.2% 0.151 108)

  • #00BB8E

    #00BB8E

    oklch(70.3% 0.143 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D170EE

    #D170EE

    oklch(70.3% 0.199 317.9)

  • #D19200

    #D19200

    oklch(70.4% 0.147 78)

  • #00B6BA

    #00B6BA

    oklch(70.4% 0.12 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D170EE

    #D170EE

    oklch(70.3% 0.199 317.9)

  • #FA7100

    #FA7100

    oklch(70.3% 0.191 48)

  • #58BA29

    #58BA29

    oklch(70.3% 0.198 137.9)

  • #00AFE2

    #00AFE2

    oklch(70.4% 0.137 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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