#D287F3

Closest named color: Liliac (#C48EFD). oklch(74% 0.168 314.8), rgb(210, 135, 243).

Aa

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

About this color

#D287F3 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.168 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.028 away. Black text reads best on it, at 8.50:1.

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

Values

HEX#D287F3
RGBrgb(210, 135, 243)
HSLhsl(282, 82%, 74%)
OKLCHoklch(74% 0.168 314.8)

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 #D287F3 2.47:1 Fails Lc -53.3 Large or bold text, headings
Black text on #D287F3 8.50:1 AAA Lc 55.7 Large or bold text, headings
#D287F3 text on white 2.47:1 Fails Lc 48.3 Large or bold text, headings
#D287F3 text on black 8.50:1 AAA Lc -53.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

    #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

    #DAACF0

    oklch(80.9% 0.106 314.6)

  5. Step 400

    400 (this color)

    #D287F3

    oklch(74% 0.168 314.8)

  6. Step 500

    500

    #B855E0

    oklch(63.1% 0.214 314.9)

  7. Step 600

    600

    #A431CE

    oklch(55.6% 0.234 315)

  8. Step 700

    700

    #8C21B2

    oklch(49.1% 0.216 314.9)

  9. Step 800

    800

    #721F90

    oklch(42.7% 0.179 315.1)

  10. Step 900

    900

    #5C2173

    oklch(37.6% 0.14 314.9)

  11. Step 950

    950

    #361543

    oklch(26.9% 0.088 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#D287F3 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)#72A0F70.141
Deuteranopia (no green cones)#87A7F00.127
Tritanopia (no blue cones)#D097B20.113
Achromatopsia (no color)#A5A5A50.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #D287F3

    #D287F3

    oklch(74% 0.168 314.8)

  • #7AC14B

    #7AC14B

    oklch(73.9% 0.168 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D287F3

    #D287F3

    oklch(74% 0.168 314.8)

  • #A29DFF

    #A29DFF

    oklch(74% 0.14 284.8)

  • #F37BC3

    #F37BC3

    oklch(74.1% 0.168 345)

Open the analogous palette in the generator

Split complementary

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

  • #D287F3

    #D287F3

    oklch(74% 0.168 314.8)

  • #BBAF00

    #BBAF00

    oklch(74.1% 0.157 104.6)

  • #00C992

    #00C992

    oklch(74.1% 0.156 164.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D287F3

    #D287F3

    oklch(74% 0.168 314.8)

  • #E39A00

    #E39A00

    oklch(74% 0.156 75.1)

  • #00C3C3

    #00C3C3

    oklch(74% 0.126 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D287F3

    #D287F3

    oklch(74% 0.168 314.8)

  • #FF8347

    #FF8347

    oklch(74% 0.168 44.7)

  • #7AC14B

    #7AC14B

    oklch(73.9% 0.168 134.9)

  • #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 #D287F3, closest first.

Similar named colors

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

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