#D287F0

Closest named color: Liliac (#C48EFD). oklch(73.9% 0.165 315.7), rgb(210, 135, 240).

Aa

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

About this color

#D287F0 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.165 and its hue 316°. 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.46:1.

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

Values

HEX#D287F0
RGBrgb(210, 135, 240)
HSLhsl(283, 78%, 74%)
OKLCHoklch(73.9% 0.165 315.7)

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 #D287F0 2.48:1 Fails Lc -53.5 Large or bold text, headings
Black text on #D287F0 8.46:1 AAA Lc 55.5 Large or bold text, headings
#D287F0 text on white 2.48:1 Fails Lc 48.5 Large or bold text, headings
#D287F0 text on black 8.46: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

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DBACEE

    oklch(80.9% 0.104 316)

  5. Step 400

    400 (this color)

    #D287F0

    oklch(73.9% 0.165 315.7)

  6. Step 500

    500

    #B956DD

    oklch(63.1% 0.21 316)

  7. Step 600

    600

    #A433CB

    oklch(55.6% 0.229 315.7)

  8. Step 700

    700

    #8D23AF

    oklch(49.2% 0.212 316.1)

  9. Step 800

    800

    #72208E

    oklch(42.6% 0.177 315.7)

  10. Step 900

    900

    #5C2271

    oklch(37.6% 0.137 315.7)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#D287F0 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)#74A0F40.139
Deuteranopia (no green cones)#88A7ED0.127
Tritanopia (no blue cones)#D196B00.111
Achromatopsia (no color)#A4A4A40.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #D287F0

    #D287F0

    oklch(73.9% 0.165 315.7)

  • #79C150

    #79C150

    oklch(73.9% 0.164 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D287F0

    #D287F0

    oklch(73.9% 0.165 315.7)

  • #A39CFF

    #A39CFF

    oklch(73.9% 0.141 285.6)

  • #F27BC1

    #F27BC1

    oklch(73.9% 0.166 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #D287F0

    #D287F0

    oklch(73.9% 0.165 315.7)

  • #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.

  • #D287F0

    #D287F0

    oklch(73.9% 0.165 315.7)

  • #E29A00

    #E29A00

    oklch(73.9% 0.156 75.5)

  • #00C2C4

    #00C2C4

    oklch(73.8% 0.126 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D287F0

    #D287F0

    oklch(73.9% 0.165 315.7)

  • #FD8447

    #FD8447

    oklch(73.9% 0.165 45.5)

  • #79C150

    #79C150

    oklch(73.9% 0.164 135.7)

  • #00BBEE

    #00BBEE

    oklch(73.8% 0.141 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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