#D4A7FA

Closest named color: Lilac (#CEA2FD). oklch(79.8% 0.124 308.6), rgb(212, 167, 250).

Aa

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

About this color

#D4A7FA is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.124 and its hue 309°. 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.70:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.70:1
White text1.96:1

Values

HEX#D4A7FA
RGBrgb(212, 167, 250)
HSLhsl(273, 89%, 82%)
OKLCHoklch(79.8% 0.124 308.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 #D4A7FA 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #D4A7FA 10.70:1 AAA Lc 66.2 Content text, not long reading
#D4A7FA text on white 1.96:1 Fails Lc 37.7 Non-text elements, placeholder text
#D4A7FA text on black 10.70:1 AAA Lc -64.7 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E6CDFC

    oklch(88.4% 0.069 309)

  4. Step 300

    300 (this color)

    #D4A7FA

    oklch(79.8% 0.124 308.6)

  5. Step 400

    400

    #C478FD

    oklch(70.8% 0.197 308.6)

  6. Step 500

    500

    #B549FA

    oklch(63.1% 0.253 308.7)

  7. Step 600

    600

    #A114E9

    oklch(55.6% 0.275 308.6)

  8. Step 700

    700

    #8900C9

    oklch(49.1% 0.25 308.5)

  9. Step 800

    800

    #7009A4

    oklch(42.7% 0.212 308.6)

  10. Step 900

    900

    #5B1982

    oklch(37.8% 0.165 308.9)

  11. Step 950

    950

    #35124C

    oklch(27% 0.104 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#D4A7FA 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)#97B7FD0.088
Deuteranopia (no green cones)#A1BAF80.082
Tritanopia (no blue cones)#CFB3C50.091
Achromatopsia (no color)#B9B9B90.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4A7FA

    #D4A7FA

    oklch(79.8% 0.124 308.6)

  • #A5CD74

    #A5CD74

    oklch(79.9% 0.124 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4A7FA

    #D4A7FA

    oklch(79.8% 0.124 308.6)

  • #AEB7FF

    #AEB7FF

    oklch(79.9% 0.103 278.3)

  • #F19DD8

    #F19DD8

    oklch(79.7% 0.124 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #D4A7FA

    #D4A7FA

    oklch(79.8% 0.124 308.6)

  • #D2BE59

    #D2BE59

    oklch(79.8% 0.123 98.2)

  • #70D5A0

    #70D5A0

    oklch(79.7% 0.123 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4A7FA

    #D4A7FA

    oklch(79.8% 0.124 308.6)

  • #F1AE5F

    #F1AE5F

    oklch(79.9% 0.124 68.9)

  • #40D6CD

    #40D6CD

    oklch(79.7% 0.123 189.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4A7FA

    #D4A7FA

    oklch(79.8% 0.124 308.6)

  • #FFA284

    #FFA284

    oklch(79.9% 0.119 38.6)

  • #A5CD74

    #A5CD74

    oklch(79.9% 0.124 128.7)

  • #49D0F3

    #49D0F3

    oklch(79.9% 0.124 218.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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