#D281EC

Closest named color: Liliac (#C48EFD). oklch(72.8% 0.17 317.6), rgb(210, 129, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.170)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.09:1
White text2.59:1

Values

HEX#D281EC
RGBrgb(210, 129, 236)
HSLhsl(285, 74%, 72%)
OKLCHoklch(72.8% 0.17 317.6)

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 #D281EC 2.59:1 Fails Lc -55.5 Large or bold text, headings
Black text on #D281EC 8.09:1 AAA Lc 53.6 Large or bold text, headings
#D281EC text on white 2.59:1 Fails Lc 50.4 Large or bold text, headings
#D281EC text on black 8.09:1 AAA Lc -51.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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACEF3

    oklch(88.6% 0.058 317.9)

  4. Step 300

    300

    #DDABEE

    oklch(80.9% 0.107 317.4)

  5. Step 400

    400 (this color)

    #D281EC

    oklch(72.8% 0.17 317.6)

  6. Step 500

    500

    #BD52DD

    oklch(63.2% 0.217 317.6)

  7. Step 600

    600

    #A82CCB

    oklch(55.6% 0.237 317.4)

  8. Step 700

    700

    #901BAF

    oklch(49.1% 0.22 317.5)

  9. Step 800

    800

    #751C8E

    oklch(42.7% 0.182 317.4)

  10. Step 900

    900

    #5F1F71

    oklch(37.7% 0.142 317.9)

  11. Step 950

    950

    #381442

    oklch(27% 0.09 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#D281EC 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)#6E9BF00.149
Deuteranopia (no green cones)#85A3E90.134
Tritanopia (no blue cones)#D290AB0.112
Achromatopsia (no color)#A1A1A10.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #D281EC

    #D281EC

    oklch(72.8% 0.17 317.6)

  • #6EBF4C

    #6EBF4C

    oklch(72.8% 0.171 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D281EC

    #D281EC

    oklch(72.8% 0.17 317.6)

  • #A396FF

    #A396FF

    oklch(72.8% 0.15 287.8)

  • #F175BA

    #F175BA

    oklch(72.7% 0.17 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #D281EC

    #D281EC

    oklch(72.8% 0.17 317.6)

  • #B2AD00

    #B2AD00

    oklch(72.8% 0.157 107.6)

  • #00C494

    #00C494

    oklch(72.8% 0.148 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D281EC

    #D281EC

    oklch(72.8% 0.17 317.6)

  • #DB9800

    #DB9800

    oklch(72.7% 0.152 77.2)

  • #00BEC2

    #00BEC2

    oklch(72.7% 0.124 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D281EC

    #D281EC

    oklch(72.8% 0.17 317.6)

  • #FA8039

    #FA8039

    oklch(72.7% 0.17 47.6)

  • #6EBF4C

    #6EBF4C

    oklch(72.8% 0.171 137.6)

  • #00B7EC

    #00B7EC

    oklch(72.8% 0.142 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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