#D287F6

Closest named color: Liliac (#C48EFD). oklch(74.2% 0.171 314), rgb(210, 135, 246).

Aa

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

About this color

#D287F6 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.171 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.027 away. Black text reads best on it, at 8.53:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.53:1
White text2.45:1

Values

HEX#D287F6
RGBrgb(210, 135, 246)
HSLhsl(281, 86%, 75%)
OKLCHoklch(74.2% 0.171 314)

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 #D287F6 2.45:1 Fails Lc -53.1 Large or bold text, headings
Black text on #D287F6 8.53:1 AAA Lc 55.9 Large or bold text, headings
#D287F6 text on white 2.45:1 Fails Lc 48.1 Large or bold text, headings
#D287F6 text on black 8.53:1 AAA Lc -53.9 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E8CEF5

    oklch(88.5% 0.06 314.5)

  4. Step 300

    300

    #DAACF1

    oklch(80.9% 0.107 314.2)

  5. Step 400

    400 (this color)

    #D287F6

    oklch(74.2% 0.171 314)

  6. Step 500

    500

    #B854E3

    oklch(63.1% 0.218 314.2)

  7. Step 600

    600

    #A32FD1

    oklch(55.5% 0.238 313.9)

  8. Step 700

    700

    #8C1EB5

    oklch(49.1% 0.221 314.1)

  9. Step 800

    800

    #721E93

    oklch(42.8% 0.183 314)

  10. Step 900

    900

    #5C2175

    oklch(37.7% 0.143 314)

  11. Step 950

    950

    #361544

    oklch(27% 0.09 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#D287F6 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)#71A1FA0.142
Deuteranopia (no green cones)#85A7F30.129
Tritanopia (no blue cones)#CF97B30.116
Achromatopsia (no color)#A5A5A50.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #D287F6

    #D287F6

    oklch(74.2% 0.171 314)

  • #7CC247

    #7CC247

    oklch(74.2% 0.171 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D287F6

    #D287F6

    oklch(74.2% 0.171 314)

  • #A19EFF

    #A19EFF

    oklch(74.1% 0.138 283.9)

  • #F47AC6

    #F47AC6

    oklch(74.2% 0.172 343.9)

Open the analogous palette in the generator

Split complementary

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

  • #D287F6

    #D287F6

    oklch(74.2% 0.171 314)

  • #BCAF00

    #BCAF00

    oklch(74.1% 0.157 104.2)

  • #00CA90

    #00CA90

    oklch(74.3% 0.159 163.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D287F6

    #D287F6

    oklch(74.2% 0.171 314)

  • #E59A00

    #E59A00

    oklch(74.2% 0.157 74.3)

  • #00C4C3

    #00C4C3

    oklch(74.2% 0.127 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D287F6

    #D287F6

    oklch(74.2% 0.171 314)

  • #FF844B

    #FF844B

    oklch(74.2% 0.166 44.1)

  • #7CC247

    #7CC247

    oklch(74.2% 0.171 134.1)

  • #00BDEC

    #00BDEC

    oklch(74.2% 0.139 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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