#D5A2FC

Closest named color: Lilac (#CEA2FD). oklch(79.2% 0.135 309.6), rgb(213, 162, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.40:1
White text2.01:1

Values

HEX#D5A2FC
RGBrgb(213, 162, 252)
HSLhsl(274, 94%, 81%)
OKLCHoklch(79.2% 0.135 309.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 #D5A2FC 2.01:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #D5A2FC 10.40:1 AAA Lc 64.8 Content text, not long reading
#D5A2FC text on white 2.01:1 Fails Lc 39.1 Non-text elements, placeholder text
#D5A2FC text on black 10.40:1 AAA Lc -63.3 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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FE

    oklch(93.6% 0.039 310.3)

  3. Step 200

    200

    #E8CCFF

    oklch(88.5% 0.075 309.6)

  4. Step 300

    300 (this color)

    #D5A2FC

    oklch(79.2% 0.135 309.6)

  5. Step 400

    400

    #C774FF

    oklch(70.7% 0.207 309.7)

  6. Step 500

    500

    #B940FF

    oklch(63.1% 0.268 309.4)

  7. Step 600

    600

    #A400EA

    oklch(55.6% 0.282 309.6)

  8. Step 700

    700

    #8A00C7

    oklch(49.1% 0.249 309.3)

  9. Step 800

    800

    #7200A4

    oklch(42.7% 0.216 309.7)

  10. Step 900

    900

    #5E0D87

    oklch(37.8% 0.18 309.5)

  11. Step 950

    950

    #370D4F

    oklch(27% 0.115 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#D5A2FC 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)#91B4FF0.099
Deuteranopia (no green cones)#9CB7F90.091
Tritanopia (no blue cones)#D0AFC30.098
Achromatopsia (no color)#B6B6B60.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5A2FC

    #D5A2FC

    oklch(79.2% 0.135 309.6)

  • #9FCC6B

    #9FCC6B

    oklch(79.1% 0.135 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5A2FC

    #D5A2FC

    oklch(79.2% 0.135 309.6)

  • #ADB4FF

    #ADB4FF

    oklch(79.2% 0.107 279.6)

  • #F498D7

    #F498D7

    oklch(79.2% 0.134 339.6)

Open the analogous palette in the generator

Split complementary

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

  • #D5A2FC

    #D5A2FC

    oklch(79.2% 0.135 309.6)

  • #D0BC4A

    #D0BC4A

    oklch(79.1% 0.134 99.3)

  • #61D59C

    #61D59C

    oklch(79.1% 0.135 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5A2FC

    #D5A2FC

    oklch(79.2% 0.135 309.6)

  • #F2AA50

    #F2AA50

    oklch(79.1% 0.135 69.6)

  • #15D6CD

    #15D6CD

    oklch(79.1% 0.135 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5A2FC

    #D5A2FC

    oklch(79.2% 0.135 309.6)

  • #FF9E7D

    #FF9E7D

    oklch(79.1% 0.125 39.5)

  • #9FCC6B

    #9FCC6B

    oklch(79.1% 0.135 129.5)

  • #2FCFF6

    #2FCFF6

    oklch(79.3% 0.135 219.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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