#D17EF4

Closest named color: Light Purple (#BF77F6). oklch(72.6% 0.183 315.1), rgb(209, 126, 244).

Aa

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

About this color

#D17EF4 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.183 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.037 away. Black text reads best on it, at 8.00:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.183)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text8.00:1
White text2.62:1

Values

HEX#D17EF4
RGBrgb(209, 126, 244)
HSLhsl(282, 84%, 73%)
OKLCHoklch(72.6% 0.183 315.1)

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 #D17EF4 2.62:1 Fails Lc -56.0 Large or bold text, headings
Black text on #D17EF4 8.00:1 AAA Lc 53.2 Large or bold text, headings
#D17EF4 text on white 2.62:1 Fails Lc 50.9 Large or bold text, headings
#D17EF4 text on black 8.00:1 AAA Lc -51.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CDF7

    oklch(88.5% 0.064 314.5)

  4. Step 300

    300

    #DDAAF3

    oklch(80.9% 0.114 315.4)

  5. Step 400

    400 (this color)

    #D17EF4

    oklch(72.6% 0.183 315.1)

  6. Step 500

    500

    #BC4CE7

    oklch(63% 0.234 315.1)

  7. Step 600

    600

    #A820D5

    oklch(55.5% 0.254 315.2)

  8. Step 700

    700

    #900AB9

    oklch(49.1% 0.237 315.1)

  9. Step 800

    800

    #751396

    oklch(42.7% 0.196 315)

  10. Step 900

    900

    #5F1C77

    oklch(37.8% 0.152 315.4)

  11. Step 950

    950

    #371346

    oklch(27% 0.096 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#D17EF4 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)#659BF80.158
Deuteranopia (no green cones)#7EA2F10.141
Tritanopia (no blue cones)#CF90AE0.123
Achromatopsia (no color)#A0A0A00.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17EF4

    #D17EF4

    oklch(72.6% 0.183 315.1)

  • #70BF39

    #70BF39

    oklch(72.7% 0.184 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17EF4

    #D17EF4

    oklch(72.6% 0.183 315.1)

  • #9E97FF

    #9E97FF

    oklch(72.6% 0.148 285.1)

  • #F370C0

    #F370C0

    oklch(72.5% 0.183 345)

Open the analogous palette in the generator

Split complementary

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

  • #D17EF4

    #D17EF4

    oklch(72.6% 0.183 315.1)

  • #B5AB00

    #B5AB00

    oklch(72.6% 0.154 105.4)

  • #00C48E

    #00C48E

    oklch(72.7% 0.153 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17EF4

    #D17EF4

    oklch(72.6% 0.183 315.1)

  • #DD9600

    #DD9600

    oklch(72.5% 0.153 75.2)

  • #00BEBF

    #00BEBF

    oklch(72.6% 0.124 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17EF4

    #D17EF4

    oklch(72.6% 0.183 315.1)

  • #FF7B35

    #FF7B35

    oklch(72.7% 0.18 45.3)

  • #70BF39

    #70BF39

    oklch(72.7% 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 #D17EF4, closest first.

Similar named colors

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

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