#DC81EC

Closest named color: Violet (#EE82EE). oklch(73.9% 0.175 321.5), rgb(220, 129, 236).

Aa

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

About this color

#DC81EC is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.175 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.031 away. Black text reads best on it, at 8.39:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.175)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.39:1
White text2.50:1

Values

HEX#DC81EC
RGBrgb(220, 129, 236)
HSLhsl(291, 74%, 72%)
OKLCHoklch(73.9% 0.175 321.5)

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 #DC81EC 2.50:1 Fails Lc -53.8 Large or bold text, headings
Black text on #DC81EC 8.39:1 AAA Lc 55.2 Large or bold text, headings
#DC81EC text on white 2.50:1 Fails Lc 48.8 Large or bold text, headings
#DC81EC text on black 8.39:1 AAA Lc -53.2 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF2

    oklch(88.6% 0.06 320.8)

  4. Step 300

    300

    #E2A9EB

    oklch(80.9% 0.11 321.8)

  5. Step 400

    400 (this color)

    #DC81EC

    oklch(73.9% 0.175 321.5)

  6. Step 500

    500

    #C44CD9

    oklch(63.2% 0.225 321.4)

  7. Step 600

    600

    #AF22C6

    oklch(55.6% 0.244 321.3)

  8. Step 700

    700

    #960EAB

    oklch(49.1% 0.227 321.3)

  9. Step 800

    800

    #7A148A

    oklch(42.7% 0.187 321.5)

  10. Step 900

    900

    #631C6F

    oklch(37.8% 0.146 321.5)

  11. Step 950

    950

    #3A1241

    oklch(27% 0.093 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#DC81EC 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)#729DF00.160
Deuteranopia (no green cones)#8CA7E90.143
Tritanopia (no blue cones)#DE8EAC0.107
Achromatopsia (no color)#A4A4A40.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC81EC

    #DC81EC

    oklch(73.9% 0.175 321.5)

  • #63C556

    #63C556

    oklch(73.9% 0.176 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC81EC

    #DC81EC

    oklch(73.9% 0.175 321.5)

  • #AC98FF

    #AC98FF

    oklch(73.9% 0.147 291.3)

  • #FA76B7

    #FA76B7

    oklch(73.9% 0.175 351.5)

Open the analogous palette in the generator

Split complementary

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

  • #DC81EC

    #DC81EC

    oklch(73.9% 0.175 321.5)

  • #AFB300

    #AFB300

    oklch(73.9% 0.163 111.4)

  • #00C79F

    #00C79F

    oklch(73.9% 0.144 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC81EC

    #DC81EC

    oklch(73.9% 0.175 321.5)

  • #DA9F00

    #DA9F00

    oklch(73.9% 0.152 81.8)

  • #00C1CB

    #00C1CB

    oklch(73.8% 0.125 201.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC81EC

    #DC81EC

    oklch(73.9% 0.175 321.5)

  • #FE842B

    #FE842B

    oklch(73.8% 0.175 51.3)

  • #63C556

    #63C556

    oklch(73.9% 0.176 141.4)

  • #00B9F7

    #00B9F7

    oklch(73.8% 0.15 231.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DC81EC.

Similar named colors

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

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