#D4A5FF

Closest named color: Lilac (#CEA2FD). oklch(79.7% 0.133 307.6), rgb(212, 165, 255).

Aa

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

About this color

#D4A5FF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.133 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.012 away. Black text reads best on it, at 10.62:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.62:1
White text1.97:1

Values

HEX#D4A5FF
RGBrgb(212, 165, 255)
HSLhsl(271, 100%, 82%)
OKLCHoklch(79.7% 0.133 307.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 #D4A5FF 1.97:1 Fails Lc -42.5 Non-text elements, placeholder text
Black text on #D4A5FF 10.62:1 AAA Lc 65.9 Content text, not long reading
#D4A5FF text on white 1.97:1 Fails Lc 38.0 Non-text elements, placeholder text
#D4A5FF text on black 10.62:1 AAA Lc -64.4 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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E4FE

    oklch(93.7% 0.037 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #D4A5FF

    oklch(79.7% 0.133 307.6)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B447FF

    oklch(63.1% 0.259 307.5)

  7. Step 600

    600

    #A100EF

    oklch(55.6% 0.285 307.6)

  8. Step 700

    700

    #8800CB

    oklch(49.2% 0.252 307.6)

  9. Step 800

    800

    #7000A8

    oklch(42.7% 0.219 307.7)

  10. Step 900

    900

    #5B1188

    oklch(37.7% 0.178 307.3)

  11. Step 950

    950

    #350F4F

    oklch(26.9% 0.111 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#D4A5FF 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)#93B6FF0.094
Deuteranopia (no green cones)#9DB9FC0.087
Tritanopia (no blue cones)#CEB2C60.098
Achromatopsia (no color)#B8B8B80.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4A5FF

    #D4A5FF

    oklch(79.7% 0.133 307.6)

  • #A5CD6C

    #A5CD6C

    oklch(79.8% 0.133 127.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4A5FF

    #D4A5FF

    oklch(79.7% 0.133 307.6)

  • #ACB7FF

    #ACB7FF

    oklch(79.7% 0.103 277.1)

  • #F49ADB

    #F49ADB

    oklch(79.7% 0.134 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #D4A5FF

    #D4A5FF

    oklch(79.7% 0.133 307.6)

  • #D4BD4D

    #D4BD4D

    oklch(79.7% 0.133 97.7)

  • #69D69B

    #69D69B

    oklch(79.6% 0.133 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4A5FF

    #D4A5FF

    oklch(79.7% 0.133 307.6)

  • #F5AB56

    #F5AB56

    oklch(79.7% 0.133 67.5)

  • #27D8CC

    #27D8CC

    oklch(79.8% 0.133 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4A5FF

    #D4A5FF

    oklch(79.7% 0.133 307.6)

  • #FFA184

    #FFA184

    oklch(79.7% 0.12 37.9)

  • #A5CD6C

    #A5CD6C

    oklch(79.8% 0.133 127.6)

  • #32D1F5

    #32D1F5

    oklch(79.7% 0.133 217.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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