#D31EEC

Closest named color: Purple Pink (#D725DE). oklch(63.1% 0.286 322.1), rgb(211, 30, 236).

Aa

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

About this color

#D31EEC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.286 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.025 away. Black text reads best on it, at 5.16:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.286)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.16:1
White text4.06:1

Values

HEX#D31EEC
RGBrgb(211, 30, 236)
HSLhsl(293, 84%, 52%)
OKLCHoklch(63.1% 0.286 322.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 #D31EEC 4.06:1 AA large text Lc -71.4 Content text, not long reading
Black text on #D31EEC 5.16:1 AA Lc 38.2 Non-text elements, placeholder text
#D31EEC text on white 4.06:1 AA large text Lc 65.9 Content text, not long reading
#D31EEC text on black 5.16:1 AA Lc -35.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FCF2FD

    oklch(97.2% 0.018 323)

  2. Step 100

    100

    #F7E1FA

    oklch(93.5% 0.041 322.2)

  3. Step 200

    200

    #F2C9F8

    oklch(88.6% 0.077 322)

  4. Step 300

    300

    #EBA1F6

    oklch(80.9% 0.14 322.2)

  5. Step 400

    400

    #DE65F1

    oklch(70.6% 0.224 322)

  6. Step 500

    500 (this color)

    #D31EEC

    oklch(63.1% 0.286 322.1)

  7. Step 600

    600

    #B400CB

    oklch(55.5% 0.264 321.9)

  8. Step 700

    700

    #9800AC

    oklch(49.1% 0.233 321.9)

  9. Step 800

    800

    #7E008E

    oklch(42.7% 0.203 322.2)

  10. Step 900

    900

    #6A0077

    oklch(37.7% 0.179 322.5)

  11. Step 950

    950

    #3F0647

    oklch(27% 0.118 322.3)

Export this scale for Tailwind in the Tailwind colors tool

#D31EEC 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)#0072F10.278
Deuteranopia (no green cones)#4584E80.257
Tritanopia (no blue cones)#D5528D0.170
Achromatopsia (no color)#7E7E7E0.289

Harmonies

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

Complementary

The opposite hue (180°).

  • #D31EEC

    #D31EEC

    oklch(63.1% 0.286 322.1)

  • #10A700

    #10A700

    oklch(63.2% 0.213 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D31EEC

    #D31EEC

    oklch(63.1% 0.286 322.1)

  • #9165FF

    #9165FF

    oklch(63.1% 0.218 292.1)

  • #F2009A

    #F2009A

    oklch(63.1% 0.262 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #D31EEC

    #D31EEC

    oklch(63.1% 0.286 322.1)

  • #8C9100

    #8C9100

    oklch(63.1% 0.14 112.2)

  • #00A181

    #00A181

    oklch(63.2% 0.122 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D31EEC

    #D31EEC

    oklch(63.1% 0.286 322.1)

  • #B08000

    #B08000

    oklch(63.1% 0.13 82.1)

  • #009CA5

    #009CA5

    oklch(63.1% 0.107 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D31EEC

    #D31EEC

    oklch(63.1% 0.286 322.1)

  • #D36700

    #D36700

    oklch(63.2% 0.162 52.1)

  • #10A700

    #10A700

    oklch(63.2% 0.213 142.1)

  • #0096CA

    #0096CA

    oklch(63.2% 0.129 232.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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