#D28FFF

Closest named color: Liliac (#C48EFD). oklch(75.9% 0.168 310.5), rgb(210, 143, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.11:1
White text2.30:1

Values

HEX#D28FFF
RGBrgb(210, 143, 255)
HSLhsl(276, 100%, 78%)
OKLCHoklch(75.9% 0.168 310.5)

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 #D28FFF 2.30:1 Fails Lc -50.1 Large or bold text, headings
Black text on #D28FFF 9.11:1 AAA Lc 58.7 Large or bold text, headings
#D28FFF text on white 2.30:1 Fails Lc 45.2 Large or bold text, headings
#D28FFF text on black 9.11:1 AAA Lc -56.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 300.

  1. Step 50

    50

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F3E3FF

    oklch(93.7% 0.041 310.9)

  3. Step 200

    200

    #E9CCFF

    oklch(88.6% 0.075 310.4)

  4. Step 300

    300 (this color)

    #D28FFF

    oklch(75.9% 0.168 310.5)

  5. Step 400

    400

    #C973FF

    oklch(70.7% 0.209 310.5)

  6. Step 500

    500

    #BC3CFF

    oklch(63.1% 0.272 310.6)

  7. Step 600

    600

    #A500E8

    oklch(55.6% 0.28 310.4)

  8. Step 700

    700

    #8C00C5

    oklch(49.2% 0.248 310.6)

  9. Step 800

    800

    #7300A3

    oklch(42.7% 0.216 310.5)

  10. Step 900

    900

    #600089

    oklch(37.6% 0.19 310.5)

  11. Step 950

    950

    #3B0056

    oklch(27.1% 0.137 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#D28FFF 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)#76A7FF0.133
Deuteranopia (no green cones)#88ACFC0.120
Tritanopia (no blue cones)#CDA0BB0.119
Achromatopsia (no color)#ABABAB0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #D28FFF

    #D28FFF

    oklch(75.9% 0.168 310.5)

  • #8BC546

    #8BC546

    oklch(75.8% 0.168 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D28FFF

    #D28FFF

    oklch(75.9% 0.168 310.5)

  • #A2A7FF

    #A2A7FF

    oklch(75.9% 0.126 280.5)

  • #F682D1

    #F682D1

    oklch(76% 0.168 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #D28FFF

    #D28FFF

    oklch(75.9% 0.168 310.5)

  • #C8B200

    #C8B200

    oklch(75.9% 0.158 100.4)

  • #0ED08C

    #0ED08C

    oklch(75.8% 0.168 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D28FFF

    #D28FFF

    oklch(75.9% 0.168 310.5)

  • #F19B00

    #F19B00

    oklch(75.8% 0.164 70.3)

  • #00CAC4

    #00CAC4

    oklch(75.8% 0.13 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D28FFF

    #D28FFF

    oklch(75.9% 0.168 310.5)

  • #FF8D63

    #FF8D63

    oklch(75.9% 0.149 40.7)

  • #8BC546

    #8BC546

    oklch(75.8% 0.168 130.5)

  • #00C4EE

    #00C4EE

    oklch(75.9% 0.139 220.6)

Open the square palette in the generator

Palettes and gradients that use #D28FFF

These curated palettes and gradients contain exactly #D28FFF. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

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