#D7A2FA

Closest named color: Lilac (#CEA2FD). oklch(79.3% 0.133 311.2), rgb(215, 162, 250).

Aa

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

About this color

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

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

Values

HEX#D7A2FA
RGBrgb(215, 162, 250)
HSLhsl(276, 90%, 81%)
OKLCHoklch(79.3% 0.133 311.2)

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 #D7A2FA 2.01:1 Fails Lc -43.4 Non-text elements, placeholder text
Black text on #D7A2FA 10.43:1 AAA Lc 65.0 Content text, not long reading
#D7A2FA text on white 2.01:1 Fails Lc 38.9 Non-text elements, placeholder text
#D7A2FA text on black 10.43:1 AAA Lc -63.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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FD

    oklch(93.5% 0.038 311.1)

  3. Step 200

    200

    #E9CCFE

    oklch(88.5% 0.074 310.9)

  4. Step 300

    300 (this color)

    #D7A2FA

    oklch(79.3% 0.133 311.2)

  5. Step 400

    400

    #CA71FF

    oklch(70.6% 0.212 311.1)

  6. Step 500

    500

    #BD3BFE

    oklch(63.1% 0.273 311.1)

  7. Step 600

    600

    #A600E6

    oklch(55.5% 0.279 311.1)

  8. Step 700

    700

    #8C00C3

    oklch(49% 0.247 311.1)

  9. Step 800

    800

    #7400A2

    oklch(42.8% 0.215 311.2)

  10. Step 900

    900

    #5F0E84

    oklch(37.7% 0.177 311.1)

  11. Step 950

    950

    #380D4D

    oklch(27% 0.113 311.7)

Export this scale for Tailwind in the Tailwind colors tool

#D7A2FA 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)#92B4FD0.100
Deuteranopia (no green cones)#9EB8F70.093
Tritanopia (no blue cones)#D3AEC30.094
Achromatopsia (no color)#B7B7B70.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A2FA

    #D7A2FA

    oklch(79.3% 0.133 311.2)

  • #9DCD6F

    #9DCD6F

    oklch(79.3% 0.133 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A2FA

    #D7A2FA

    oklch(79.3% 0.133 311.2)

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #F598D4

    #F598D4

    oklch(79.2% 0.133 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #D7A2FA

    #D7A2FA

    oklch(79.3% 0.133 311.2)

  • #CEBE4D

    #CEBE4D

    oklch(79.4% 0.133 101.3)

  • #60D6A0

    #60D6A0

    oklch(79.4% 0.133 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A2FA

    #D7A2FA

    oklch(79.3% 0.133 311.2)

  • #F1AC51

    #F1AC51

    oklch(79.3% 0.134 71.2)

  • #1BD6D0

    #1BD6D0

    oklch(79.3% 0.133 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A2FA

    #D7A2FA

    oklch(79.3% 0.133 311.2)

  • #FF9F7B

    #FF9F7B

    oklch(79.2% 0.125 41.2)

  • #9DCD6F

    #9DCD6F

    oklch(79.3% 0.133 131)

  • #38CEF7

    #38CEF7

    oklch(79.2% 0.133 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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