#D888EF

Closest named color: Lavender Pink (#DD85D7). oklch(74.6% 0.165 318.4), rgb(216, 136, 239).

Aa

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

About this color

#D888EF is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.165 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.035 away. Black text reads best on it, at 8.68:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.68:1
White text2.41:1

Values

HEX#D888EF
RGBrgb(216, 136, 239)
HSLhsl(287, 76%, 74%)
OKLCHoklch(74.6% 0.165 318.4)

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 #D888EF 2.41:1 Fails Lc -52.3 Large or bold text, headings
Black text on #D888EF 8.68:1 AAA Lc 56.7 Large or bold text, headings
#D888EF text on white 2.41:1 Fails Lc 47.3 Large or bold text, headings
#D888EF text on black 8.68:1 AAA Lc -54.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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F7

    oklch(93.6% 0.03 319.1)

  3. Step 200

    200

    #EACEF2

    oklch(88.6% 0.057 318.7)

  4. Step 300

    300

    #DDABEC

    oklch(80.8% 0.104 318.3)

  5. Step 400

    400 (this color)

    #D888EF

    oklch(74.6% 0.165 318.4)

  6. Step 500

    500

    #BD54D9

    oklch(63.2% 0.211 318.6)

  7. Step 600

    600

    #A830C6

    oklch(55.6% 0.229 318.6)

  8. Step 700

    700

    #9020AB

    oklch(49.1% 0.213 318.6)

  9. Step 800

    800

    #751F8B

    oklch(42.8% 0.176 318.4)

  10. Step 900

    900

    #5F216F

    oklch(37.8% 0.138 318.7)

  11. Step 950

    950

    #381541

    oklch(27.1% 0.087 319)

Export this scale for Tailwind in the Tailwind colors tool

#D888EF 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)#78A1F30.143
Deuteranopia (no green cones)#8DA9EC0.130
Tritanopia (no blue cones)#D895B00.106
Achromatopsia (no color)#A7A7A70.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #D888EF

    #D888EF

    oklch(74.6% 0.165 318.4)

  • #74C558

    #74C558

    oklch(74.7% 0.165 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D888EF

    #D888EF

    oklch(74.6% 0.165 318.4)

  • #AA9DFF

    #AA9DFF

    oklch(74.6% 0.139 288.6)

  • #F77DBE

    #F77DBE

    oklch(74.7% 0.165 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #D888EF

    #D888EF

    oklch(74.6% 0.165 318.4)

  • #B7B300

    #B7B300

    oklch(74.6% 0.161 108.1)

  • #00CA9B

    #00CA9B

    oklch(74.5% 0.15 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D888EF

    #D888EF

    oklch(74.6% 0.165 318.4)

  • #E19F00

    #E19F00

    oklch(74.7% 0.155 78.8)

  • #00C5CA

    #00C5CA

    oklch(74.7% 0.127 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D888EF

    #D888EF

    oklch(74.6% 0.165 318.4)

  • #FE8843

    #FE8843

    oklch(74.6% 0.165 48.3)

  • #74C558

    #74C558

    oklch(74.7% 0.165 138.3)

  • #00BDF5

    #00BDF5

    oklch(74.6% 0.146 228.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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