#D3A7FB

Closest named color: Lilac (#CEA2FD). oklch(79.8% 0.124 307.8), rgb(211, 167, 251).

Aa

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

About this color

#D3A7FB is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.124 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.016 away. Black text reads best on it, at 10.69:1.

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

Values

HEX#D3A7FB
RGBrgb(211, 167, 251)
HSLhsl(271, 91%, 82%)
OKLCHoklch(79.8% 0.124 307.8)

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 #D3A7FB 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #D3A7FB 10.69:1 AAA Lc 66.1 Content text, not long reading
#D3A7FB text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#D3A7FB text on black 10.69:1 AAA Lc -64.6 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FD

    oklch(93.6% 0.036 307.2)

  3. Step 200

    200

    #E6CEFD

    oklch(88.6% 0.068 308.1)

  4. Step 300

    300 (this color)

    #D3A7FB

    oklch(79.8% 0.124 307.8)

  5. Step 400

    400

    #C378FE

    oklch(70.8% 0.198 308)

  6. Step 500

    500

    #B449FC

    oklch(63.1% 0.254 307.9)

  7. Step 600

    600

    #A013EB

    oklch(55.6% 0.276 307.9)

  8. Step 700

    700

    #8800CA

    oklch(49.1% 0.251 307.8)

  9. Step 800

    800

    #6F09A5

    oklch(42.7% 0.212 307.8)

  10. Step 900

    900

    #5A1983

    oklch(37.7% 0.166 307.9)

  11. Step 950

    950

    #35124D

    oklch(27.1% 0.105 308)

Export this scale for Tailwind in the Tailwind colors tool

#D3A7FB 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)#97B7FE0.087
Deuteranopia (no green cones)#A0B9F90.080
Tritanopia (no blue cones)#CEB3C60.091
Achromatopsia (no color)#B9B9B90.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #D3A7FB

    #D3A7FB

    oklch(79.8% 0.124 307.8)

  • #A6CC72

    #A6CC72

    oklch(79.7% 0.125 127.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D3A7FB

    #D3A7FB

    oklch(79.8% 0.124 307.8)

  • #ADB7FF

    #ADB7FF

    oklch(79.8% 0.103 277.7)

  • #F19DD9

    #F19DD9

    oklch(79.8% 0.125 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #D3A7FB

    #D3A7FB

    oklch(79.8% 0.124 307.8)

  • #D3BE57

    #D3BE57

    oklch(79.9% 0.125 97.9)

  • #71D59E

    #71D59E

    oklch(79.7% 0.124 157.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D3A7FB

    #D3A7FB

    oklch(79.8% 0.124 307.8)

  • #F2AD5F

    #F2AD5F

    oklch(79.8% 0.125 67.7)

  • #3FD7CC

    #3FD7CC

    oklch(79.9% 0.125 187.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D3A7FB

    #D3A7FB

    oklch(79.8% 0.124 307.8)

  • #FFA185

    #FFA185

    oklch(79.7% 0.119 37.4)

  • #A6CC72

    #A6CC72

    oklch(79.7% 0.125 127.7)

  • #46D0F2

    #46D0F2

    oklch(79.8% 0.125 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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