#D8A3F8

Closest named color: Lilac (#CEA2FD). oklch(79.4% 0.129 312.1), rgb(216, 163, 248).

Aa

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

About this color

#D8A3F8 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.129 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.018 away. Black text reads best on it, at 10.51:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.51:1
White text1.99:1

Values

HEX#D8A3F8
RGBrgb(216, 163, 248)
HSLhsl(277, 86%, 81%)
OKLCHoklch(79.4% 0.129 312.1)

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 #D8A3F8 1.99:1 Fails Lc -43.0 Non-text elements, placeholder text
Black text on #D8A3F8 10.51:1 AAA Lc 65.4 Content text, not long reading
#D8A3F8 text on white 1.99:1 Fails Lc 38.6 Non-text elements, placeholder text
#D8A3F8 text on black 10.51:1 AAA Lc -63.8 Content text, not long reading

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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E3FC

    oklch(93.5% 0.037 312.1)

  3. Step 200

    200

    #E9CCFC

    oklch(88.5% 0.072 311.9)

  4. Step 300

    300 (this color)

    #D8A3F8

    oklch(79.4% 0.129 312.1)

  5. Step 400

    400

    #CB72FC

    oklch(70.7% 0.208 312)

  6. Step 500

    500

    #BD3FF9

    oklch(63% 0.265 312)

  7. Step 600

    600

    #A800E4

    oklch(55.6% 0.278 312.2)

  8. Step 700

    700

    #8E00C1

    oklch(49.2% 0.246 312.3)

  9. Step 800

    800

    #7500A0

    oklch(42.8% 0.214 312.3)

  10. Step 900

    900

    #5F1181

    oklch(37.6% 0.172 312.1)

  11. Step 950

    950

    #380E4C

    oklch(27% 0.11 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#D8A3F8 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)#94B5FB0.099
Deuteranopia (no green cones)#A0B9F50.092
Tritanopia (no blue cones)#D5AEC20.091
Achromatopsia (no color)#B7B7B70.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A3F8

    #D8A3F8

    oklch(79.4% 0.129 312.1)

  • #9CCD74

    #9CCD74

    oklch(79.3% 0.129 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A3F8

    #D8A3F8

    oklch(79.4% 0.129 312.1)

  • #B1B4FF

    #B1B4FF

    oklch(79.5% 0.106 281.9)

  • #F59AD3

    #F59AD3

    oklch(79.5% 0.129 342.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8A3F8

    #D8A3F8

    oklch(79.4% 0.129 312.1)

  • #CCBF53

    #CCBF53

    oklch(79.4% 0.129 102.5)

  • #62D6A3

    #62D6A3

    oklch(79.5% 0.13 162.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A3F8

    #D8A3F8

    oklch(79.4% 0.129 312.1)

  • #EFAE55

    #EFAE55

    oklch(79.5% 0.13 72.5)

  • #2BD6D1

    #2BD6D1

    oklch(79.5% 0.13 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A3F8

    #D8A3F8

    oklch(79.4% 0.129 312.1)

  • #FFA07B

    #FFA07B

    oklch(79.4% 0.124 41.9)

  • #9CCD74

    #9CCD74

    oklch(79.3% 0.129 132.3)

  • #42CEF7

    #42CEF7

    oklch(79.4% 0.129 221.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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