#D287EB

Closest named color: Lavender Pink (#DD85D7). oklch(73.7% 0.159 317.3), rgb(210, 135, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.159)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.40:1
White text2.49:1

Values

HEX#D287EB
RGBrgb(210, 135, 235)
HSLhsl(285, 71%, 73%)
OKLCHoklch(73.7% 0.159 317.3)

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 #D287EB 2.49:1 Fails Lc -53.9 Large or bold text, headings
Black text on #D287EB 8.40:1 AAA Lc 55.2 Large or bold text, headings
#D287EB text on white 2.49:1 Fails Lc 48.8 Large or bold text, headings
#D287EB text on black 8.40: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DBADEB

    oklch(80.9% 0.099 317.2)

  5. Step 400

    400 (this color)

    #D287EB

    oklch(73.7% 0.159 317.3)

  6. Step 500

    500

    #B958D8

    oklch(63.1% 0.202 317.2)

  7. Step 600

    600

    #A536C6

    oklch(55.7% 0.222 317.2)

  8. Step 700

    700

    #8D26AB

    oklch(49.1% 0.206 317.2)

  9. Step 800

    800

    #73238A

    oklch(42.8% 0.17 317.5)

  10. Step 900

    900

    #5D236F

    oklch(37.7% 0.134 317.2)

  11. Step 950

    950

    #361641

    oklch(26.9% 0.084 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#D287EB 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)#779FEF0.136
Deuteranopia (no green cones)#8AA6E80.124
Tritanopia (no blue cones)#D294AE0.104
Achromatopsia (no color)#A4A4A40.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #D287EB

    #D287EB

    oklch(73.7% 0.159 317.3)

  • #76C056

    #76C056

    oklch(73.6% 0.159 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D287EB

    #D287EB

    oklch(73.7% 0.159 317.3)

  • #A59AFF

    #A59AFF

    oklch(73.7% 0.144 287.3)

  • #F07CBC

    #F07CBC

    oklch(73.6% 0.159 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #D287EB

    #D287EB

    oklch(73.7% 0.159 317.3)

  • #B5B000

    #B5B000

    oklch(73.7% 0.159 107.7)

  • #00C796

    #00C796

    oklch(73.6% 0.15 167.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D287EB

    #D287EB

    oklch(73.7% 0.159 317.3)

  • #DF9B00

    #DF9B00

    oklch(73.7% 0.154 77.3)

  • #00C1C5

    #00C1C5

    oklch(73.6% 0.125 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D287EB

    #D287EB

    oklch(73.7% 0.159 317.3)

  • #F98647

    #F98647

    oklch(73.7% 0.16 47.3)

  • #76C056

    #76C056

    oklch(73.6% 0.159 137.2)

  • #00BAEF

    #00BAEF

    oklch(73.6% 0.143 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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