#D7A0FB

Closest named color: Lilac (#CEA2FD). oklch(79% 0.138 311.2), rgb(215, 160, 251).

Aa

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

About this color

#D7A0FB is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.138 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.014 away. Black text reads best on it, at 10.31:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.31:1
White text2.03:1

Values

HEX#D7A0FB
RGBrgb(215, 160, 251)
HSLhsl(276, 92%, 81%)
OKLCHoklch(79% 0.138 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 #D7A0FB 2.03:1 Fails Lc -44.0 Non-text elements, placeholder text
Black text on #D7A0FB 10.31:1 AAA Lc 64.4 Content text, not long reading
#D7A0FB text on white 2.03:1 Fails Lc 39.5 Non-text elements, placeholder text
#D7A0FB text on black 10.31:1 AAA Lc -62.8 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

    #F3E3FE

    oklch(93.7% 0.04 311.8)

  3. Step 200

    200

    #EACBFF

    oklch(88.5% 0.078 311.5)

  4. Step 300

    300 (this color)

    #D7A0FB

    oklch(79% 0.138 311.2)

  5. Step 400

    400

    #CB71FF

    oklch(70.7% 0.212 311.4)

  6. Step 500

    500

    #BE39FF

    oklch(63.1% 0.276 311.3)

  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

    #600786

    oklch(37.7% 0.183 311.2)

  11. Step 950

    950

    #380B4F

    oklch(27% 0.117 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#D7A0FB 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)#8FB3FE0.105
Deuteranopia (no green cones)#9CB7F80.097
Tritanopia (no blue cones)#D3ADC20.098
Achromatopsia (no color)#B6B6B60.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A0FB

    #D7A0FB

    oklch(79% 0.138 311.2)

  • #9BCC6B

    #9BCC6B

    oklch(78.9% 0.137 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A0FB

    #D7A0FB

    oklch(79% 0.138 311.2)

  • #AEB2FF

    #AEB2FF

    oklch(78.9% 0.109 281.3)

  • #F696D4

    #F696D4

    oklch(79% 0.137 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #D7A0FB

    #D7A0FB

    oklch(79% 0.138 311.2)

  • #CDBD46

    #CDBD46

    oklch(79% 0.138 101.6)

  • #5AD59E

    #5AD59E

    oklch(78.9% 0.137 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A0FB

    #D7A0FB

    oklch(79% 0.138 311.2)

  • #F1AA4B

    #F1AA4B

    oklch(78.9% 0.137 71.1)

  • #00D5D0

    #00D5D0

    oklch(78.9% 0.135 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A0FB

    #D7A0FB

    oklch(79% 0.138 311.2)

  • #FF9E79

    #FF9E79

    oklch(79% 0.127 41.5)

  • #9BCC6B

    #9BCC6B

    oklch(78.9% 0.137 131)

  • #2ACEF8

    #2ACEF8

    oklch(79% 0.137 220.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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