#D17EF3

Closest named color: Light Purple (#BF77F6). oklch(72.6% 0.182 315.4), rgb(209, 126, 243).

Aa

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

About this color

#D17EF3 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.182 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 7.98:1.

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

Values

HEX#D17EF3
RGBrgb(209, 126, 243)
HSLhsl(283, 83%, 72%)
OKLCHoklch(72.6% 0.182 315.4)

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 #D17EF3 2.62:1 Fails Lc -56.1 Large or bold text, headings
Black text on #D17EF3 7.98:1 AAA Lc 53.1 Large or bold text, headings
#D17EF3 text on white 2.62:1 Fails Lc 50.9 Large or bold text, headings
#D17EF3 text on black 7.98:1 AAA Lc -51.0 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

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #E9CDF6

    oklch(88.4% 0.063 315.1)

  4. Step 300

    300

    #DDAAF3

    oklch(80.9% 0.114 315.4)

  5. Step 400

    400 (this color)

    #D17EF3

    oklch(72.6% 0.182 315.4)

  6. Step 500

    500

    #BD4DE6

    oklch(63.1% 0.232 315.6)

  7. Step 600

    600

    #A821D4

    oklch(55.5% 0.253 315.4)

  8. Step 700

    700

    #900CB8

    oklch(49.1% 0.235 315.3)

  9. Step 800

    800

    #751495

    oklch(42.7% 0.195 315.3)

  10. Step 900

    900

    #5F1C77

    oklch(37.8% 0.152 315.4)

  11. Step 950

    950

    #381346

    oklch(27.2% 0.096 315.4)

Export this scale for Tailwind in the Tailwind colors tool

#D17EF3 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)#669BF70.158
Deuteranopia (no green cones)#7EA2F00.141
Tritanopia (no blue cones)#CF8FAD0.121
Achromatopsia (no color)#A0A0A00.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17EF3

    #D17EF3

    oklch(72.6% 0.182 315.4)

  • #6FBE3B

    #6FBE3B

    oklch(72.4% 0.181 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17EF3

    #D17EF3

    oklch(72.6% 0.182 315.4)

  • #9E97FF

    #9E97FF

    oklch(72.6% 0.148 285.1)

  • #F371BF

    #F371BF

    oklch(72.6% 0.181 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #D17EF3

    #D17EF3

    oklch(72.6% 0.182 315.4)

  • #B5AB00

    #B5AB00

    oklch(72.6% 0.154 105.4)

  • #00C38F

    #00C38F

    oklch(72.4% 0.151 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17EF3

    #D17EF3

    oklch(72.6% 0.182 315.4)

  • #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.

  • #D17EF3

    #D17EF3

    oklch(72.6% 0.182 315.4)

  • #FF7A33

    #FF7A33

    oklch(72.5% 0.181 45.3)

  • #6FBE3B

    #6FBE3B

    oklch(72.4% 0.181 135.4)

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

Similar named colors

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

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