#D881EF

Closest named color: Violet (#EE82EE). oklch(73.6% 0.176 319), rgb(216, 129, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.176)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.30:1
White text2.52:1

Values

HEX#D881EF
RGBrgb(216, 129, 239)
HSLhsl(287, 77%, 72%)
OKLCHoklch(73.6% 0.176 319)

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 #D881EF 2.52:1 Fails Lc -54.3 Large or bold text, headings
Black text on #D881EF 8.30:1 AAA Lc 54.7 Large or bold text, headings
#D881EF text on white 2.52:1 Fails Lc 49.3 Large or bold text, headings
#D881EF text on black 8.30:1 AAA Lc -52.7 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

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EBCDF3

    oklch(88.5% 0.061 319.1)

  4. Step 300

    300

    #E0AAEE

    oklch(81% 0.11 319.2)

  5. Step 400

    400 (this color)

    #D881EF

    oklch(73.6% 0.176 319)

  6. Step 500

    500

    #C14DDD

    oklch(63.1% 0.226 319.3)

  7. Step 600

    600

    #AC24CB

    oklch(55.6% 0.245 318.9)

  8. Step 700

    700

    #9410AF

    oklch(49.1% 0.228 319.3)

  9. Step 800

    800

    #78158E

    oklch(42.7% 0.189 319.1)

  10. Step 900

    900

    #611C71

    oklch(37.6% 0.147 319.3)

  11. Step 950

    950

    #391342

    oklch(27% 0.092 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#D881EF 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)#6F9DF30.157
Deuteranopia (no green cones)#88A6EC0.141
Tritanopia (no blue cones)#D990AD0.113
Achromatopsia (no color)#A3A3A30.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #D881EF

    #D881EF

    oklch(73.6% 0.176 319)

  • #69C34E

    #69C34E

    oklch(73.6% 0.177 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D881EF

    #D881EF

    oklch(73.6% 0.176 319)

  • #A798FF

    #A798FF

    oklch(73.5% 0.147 288.9)

  • #F875BB

    #F875BB

    oklch(73.6% 0.177 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #D881EF

    #D881EF

    oklch(73.6% 0.176 319)

  • #B2B000

    #B2B000

    oklch(73.5% 0.159 108.9)

  • #00C699

    #00C699

    oklch(73.5% 0.147 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D881EF

    #D881EF

    oklch(73.6% 0.176 319)

  • #DC9C00

    #DC9C00

    oklch(73.6% 0.153 79.2)

  • #00C1C7

    #00C1C7

    oklch(73.6% 0.125 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D881EF

    #D881EF

    oklch(73.6% 0.176 319)

  • #FF8131

    #FF8131

    oklch(73.5% 0.177 48.7)

  • #69C34E

    #69C34E

    oklch(73.6% 0.177 139.1)

  • #00B9F2

    #00B9F2

    oklch(73.5% 0.145 229.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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