#D287F1

Closest named color: Liliac (#C48EFD). oklch(73.9% 0.166 315.4), rgb(210, 135, 241).

Aa

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

About this color

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

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

Values

HEX#D287F1
RGBrgb(210, 135, 241)
HSLhsl(282, 79%, 74%)
OKLCHoklch(73.9% 0.166 315.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 #D287F1 2.47:1 Fails Lc -53.5 Large or bold text, headings
Black text on #D287F1 8.47:1 AAA Lc 55.6 Large or bold text, headings
#D287F1 text on white 2.47:1 Fails Lc 48.4 Large or bold text, headings
#D287F1 text on black 8.47:1 AAA Lc -53.5 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

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF4

    oklch(88.5% 0.058 315.2)

  4. Step 300

    300

    #DAACEF

    oklch(80.8% 0.104 315)

  5. Step 400

    400 (this color)

    #D287F1

    oklch(73.9% 0.166 315.4)

  6. Step 500

    500

    #B856DE

    oklch(63.1% 0.211 315.3)

  7. Step 600

    600

    #A432CC

    oklch(55.6% 0.231 315.4)

  8. Step 700

    700

    #8C22B0

    oklch(49% 0.214 315.4)

  9. Step 800

    800

    #72208F

    oklch(42.7% 0.178 315.4)

  10. Step 900

    900

    #5C2272

    oklch(37.7% 0.138 315.3)

  11. Step 950

    950

    #361543

    oklch(26.9% 0.088 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#D287F1 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)#73A0F50.140
Deuteranopia (no green cones)#88A7EE0.127
Tritanopia (no blue cones)#D096B10.111
Achromatopsia (no color)#A5A5A50.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #D287F1

    #D287F1

    oklch(73.9% 0.166 315.4)

  • #79C14E

    #79C14E

    oklch(73.9% 0.166 135.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D287F1

    #D287F1

    oklch(73.9% 0.166 315.4)

  • #A39CFF

    #A39CFF

    oklch(73.9% 0.141 285.6)

  • #F27BC2

    #F27BC2

    oklch(73.9% 0.166 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #D287F1

    #D287F1

    oklch(73.9% 0.166 315.4)

  • #B9AF00

    #B9AF00

    oklch(73.9% 0.157 105.5)

  • #00C893

    #00C893

    oklch(73.8% 0.154 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D287F1

    #D287F1

    oklch(73.9% 0.166 315.4)

  • #E29A00

    #E29A00

    oklch(73.9% 0.156 75.5)

  • #00C3C4

    #00C3C4

    oklch(74% 0.126 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D287F1

    #D287F1

    oklch(73.9% 0.166 315.4)

  • #FD8447

    #FD8447

    oklch(73.9% 0.165 45.5)

  • #79C14E

    #79C14E

    oklch(73.9% 0.166 135.5)

  • #00BCED

    #00BCED

    oklch(74% 0.14 225.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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