#D17DF4

Closest named color: Light Purple (#BF77F6). oklch(72.5% 0.185 315.2), rgb(209, 125, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.185)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.95:1
White text2.64:1

Values

HEX#D17DF4
RGBrgb(209, 125, 244)
HSLhsl(282, 84%, 72%)
OKLCHoklch(72.5% 0.185 315.2)

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 #D17DF4 2.64:1 Fails Lc -56.3 Large or bold text, headings
Black text on #D17DF4 7.95:1 AAA Lc 52.9 Large or bold text, headings
#D17DF4 text on white 2.64:1 Fails Lc 51.1 Large or bold text, headings
#D17DF4 text on black 7.95:1 AAA Lc -50.8 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F3E4FA

    oklch(93.7% 0.033 315.2)

  3. Step 200

    200

    #EACDF7

    oklch(88.6% 0.065 315.4)

  4. Step 300

    300

    #DDAAF4

    oklch(81% 0.115 315.1)

  5. Step 400

    400 (this color)

    #D17DF4

    oklch(72.5% 0.185 315.2)

  6. Step 500

    500

    #BD4BE8

    oklch(63.1% 0.236 315.2)

  7. Step 600

    600

    #A91ED6

    oklch(55.6% 0.257 315.3)

  8. Step 700

    700

    #9106BA

    oklch(49.2% 0.239 315.2)

  9. Step 800

    800

    #751196

    oklch(42.6% 0.197 315.1)

  10. Step 900

    900

    #5F1B78

    oklch(37.8% 0.154 315.1)

  11. Step 950

    950

    #381246

    oklch(27% 0.098 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#D17DF4 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)#649AF80.160
Deuteranopia (no green cones)#7DA2F10.144
Tritanopia (no blue cones)#CF8FAD0.124
Achromatopsia (no color)#9F9F9F0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17DF4

    #D17DF4

    oklch(72.5% 0.185 315.2)

  • #6FBE37

    #6FBE37

    oklch(72.4% 0.184 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17DF4

    #D17DF4

    oklch(72.5% 0.185 315.2)

  • #9E96FF

    #9E96FF

    oklch(72.4% 0.15 285.5)

  • #F46FC0

    #F46FC0

    oklch(72.5% 0.185 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #D17DF4

    #D17DF4

    oklch(72.5% 0.185 315.2)

  • #B5AA00

    #B5AA00

    oklch(72.4% 0.154 105)

  • #00C38E

    #00C38E

    oklch(72.4% 0.152 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17DF4

    #D17DF4

    oklch(72.5% 0.185 315.2)

  • #DD9600

    #DD9600

    oklch(72.5% 0.153 75.2)

  • #00BEBE

    #00BEBE

    oklch(72.6% 0.124 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17DF4

    #D17DF4

    oklch(72.5% 0.185 315.2)

  • #FF7A33

    #FF7A33

    oklch(72.5% 0.181 45.3)

  • #6FBE37

    #6FBE37

    oklch(72.4% 0.184 135.1)

  • #00B7E7

    #00B7E7

    oklch(72.5% 0.138 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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