#D181ED

Closest named color: Liliac (#C48EFD). oklch(72.7% 0.171 316.8), rgb(209, 129, 237).

Aa

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

About this color

#D181ED is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.171 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.038 away. Black text reads best on it, at 8.07:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.07:1
White text2.60:1

Values

HEX#D181ED
RGBrgb(209, 129, 237)
HSLhsl(284, 75%, 72%)
OKLCHoklch(72.7% 0.171 316.8)

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 #D181ED 2.60:1 Fails Lc -55.6 Large or bold text, headings
Black text on #D181ED 8.07:1 AAA Lc 53.5 Large or bold text, headings
#D181ED text on white 2.60:1 Fails Lc 50.5 Large or bold text, headings
#D181ED text on black 8.07:1 AAA Lc -51.4 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E9CEF4

    oklch(88.6% 0.059 316.2)

  4. Step 300

    300

    #DDABEF

    oklch(80.9% 0.108 316.9)

  5. Step 400

    400 (this color)

    #D181ED

    oklch(72.7% 0.171 316.8)

  6. Step 500

    500

    #BC52DF

    oklch(63.1% 0.219 316.8)

  7. Step 600

    600

    #A72CCC

    oklch(55.5% 0.238 316.7)

  8. Step 700

    700

    #8F1BB1

    oklch(49.1% 0.221 316.6)

  9. Step 800

    800

    #751C8F

    oklch(42.8% 0.183 317)

  10. Step 900

    900

    #5E2072

    oklch(37.7% 0.142 316.7)

  11. Step 950

    950

    #371443

    oklch(26.9% 0.091 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#D181ED 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)#6E9BF10.147
Deuteranopia (no green cones)#84A3EA0.133
Tritanopia (no blue cones)#D090AC0.112
Achromatopsia (no color)#A0A0A00.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #D181ED

    #D181ED

    oklch(72.7% 0.171 316.8)

  • #70BE4A

    #70BE4A

    oklch(72.6% 0.17 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D181ED

    #D181ED

    oklch(72.7% 0.171 316.8)

  • #A196FF

    #A196FF

    oklch(72.6% 0.15 286.8)

  • #F175BC

    #F175BC

    oklch(72.7% 0.171 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #D181ED

    #D181ED

    oklch(72.7% 0.171 316.8)

  • #B3AC00

    #B3AC00

    oklch(72.7% 0.156 106.8)

  • #00C493

    #00C493

    oklch(72.8% 0.149 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D181ED

    #D181ED

    oklch(72.7% 0.171 316.8)

  • #DC9800

    #DC9800

    oklch(72.8% 0.152 76.8)

  • #00BEC1

    #00BEC1

    oklch(72.7% 0.124 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D181ED

    #D181ED

    oklch(72.7% 0.171 316.8)

  • #FB7F3A

    #FB7F3A

    oklch(72.7% 0.171 46.7)

  • #70BE4A

    #70BE4A

    oklch(72.6% 0.17 136.8)

  • #00B7EA

    #00B7EA

    oklch(72.7% 0.14 226.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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