#D181EC

Closest named color: Liliac (#C48EFD). oklch(72.7% 0.17 317.2), rgb(209, 129, 236).

Aa

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

About this color

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

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

Values

HEX#D181EC
RGBrgb(209, 129, 236)
HSLhsl(285, 74%, 72%)
OKLCHoklch(72.7% 0.17 317.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 #D181EC 2.60:1 Fails Lc -55.7 Large or bold text, headings
Black text on #D181EC 8.06:1 AAA Lc 53.4 Large or bold text, headings
#D181EC text on white 2.60:1 Fails Lc 50.6 Large or bold text, headings
#D181EC text on black 8.06:1 AAA Lc -51.3 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

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #E9CEF3

    oklch(88.5% 0.058 316.9)

  4. Step 300

    300

    #DDABEE

    oklch(80.9% 0.107 317.4)

  5. Step 400

    400 (this color)

    #D181EC

    oklch(72.7% 0.17 317.2)

  6. Step 500

    500

    #BC52DE

    oklch(63.1% 0.218 317)

  7. Step 600

    600

    #A82DCB

    oklch(55.7% 0.236 317.3)

  8. Step 700

    700

    #901CB0

    oklch(49.2% 0.22 317.2)

  9. Step 800

    800

    #751C8E

    oklch(42.7% 0.182 317.4)

  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

#D181EC 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)#6E9BF00.148
Deuteranopia (no green cones)#84A3E90.133
Tritanopia (no blue cones)#D090AB0.112
Achromatopsia (no color)#A0A0A00.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #D181EC

    #D181EC

    oklch(72.7% 0.17 317.2)

  • #6FBE4B

    #6FBE4B

    oklch(72.6% 0.17 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D181EC

    #D181EC

    oklch(72.7% 0.17 317.2)

  • #A296FF

    #A296FF

    oklch(72.7% 0.15 287.3)

  • #F175BB

    #F175BB

    oklch(72.7% 0.171 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #D181EC

    #D181EC

    oklch(72.7% 0.17 317.2)

  • #B2AC00

    #B2AC00

    oklch(72.6% 0.156 107.2)

  • #00C493

    #00C493

    oklch(72.8% 0.149 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D181EC

    #D181EC

    oklch(72.7% 0.17 317.2)

  • #DB9800

    #DB9800

    oklch(72.7% 0.152 77.2)

  • #00BEC1

    #00BEC1

    oklch(72.7% 0.124 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D181EC

    #D181EC

    oklch(72.7% 0.17 317.2)

  • #FA803A

    #FA803A

    oklch(72.8% 0.17 47.4)

  • #6FBE4B

    #6FBE4B

    oklch(72.6% 0.17 137.1)

  • #00B7EB

    #00B7EB

    oklch(72.7% 0.141 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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