#D7A7FF

Closest named color: Lilac (#CEA2FD). oklch(80.3% 0.131 308.7), rgb(215, 167, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.86:1
White text1.93:1

Values

HEX#D7A7FF
RGBrgb(215, 167, 255)
HSLhsl(273, 100%, 83%)
OKLCHoklch(80.3% 0.131 308.7)

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 #D7A7FF 1.93:1 Fails Lc -41.3 Non-text elements, placeholder text
Black text on #D7A7FF 10.86:1 AAA Lc 66.9 Content text, not long reading
#D7A7FF text on white 1.93:1 Fails Lc 37.0 Non-text elements, placeholder text
#D7A7FF text on black 10.86:1 AAA Lc -65.5 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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E4FE

    oklch(93.7% 0.037 308)

  3. Step 200

    200

    #E7CDFE

    oklch(88.5% 0.072 308.9)

  4. Step 300

    300 (this color)

    #D7A7FF

    oklch(80.3% 0.131 308.7)

  5. Step 400

    400

    #C576FF

    oklch(70.7% 0.203 308.7)

  6. Step 500

    500

    #B743FF

    oklch(63.1% 0.264 308.7)

  7. Step 600

    600

    #A300EC

    oklch(55.6% 0.283 308.9)

  8. Step 700

    700

    #8900C8

    oklch(49% 0.25 308.7)

  9. Step 800

    800

    #7100A6

    oklch(42.7% 0.217 308.7)

  10. Step 900

    900

    #5C1385

    oklch(37.7% 0.174 308.8)

  11. Step 950

    950

    #360F4E

    oklch(27% 0.111 309)

Export this scale for Tailwind in the Tailwind colors tool

#D7A7FF 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)#96B8FF0.094
Deuteranopia (no green cones)#A1BBFC0.087
Tritanopia (no blue cones)#D2B4C70.097
Achromatopsia (no color)#BABABA0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A7FF

    #D7A7FF

    oklch(80.3% 0.131 308.7)

  • #A5CF71

    #A5CF71

    oklch(80.3% 0.13 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A7FF

    #D7A7FF

    oklch(80.3% 0.131 308.7)

  • #B0B8FF

    #B0B8FF

    oklch(80.2% 0.101 278.9)

  • #F69DDB

    #F69DDB

    oklch(80.4% 0.131 338.9)

Open the analogous palette in the generator

Split complementary

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

  • #D7A7FF

    #D7A7FF

    oklch(80.3% 0.131 308.7)

  • #D4C052

    #D4C052

    oklch(80.4% 0.131 99)

  • #6BD89F

    #6BD89F

    oklch(80.2% 0.131 158.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A7FF

    #D7A7FF

    oklch(80.3% 0.131 308.7)

  • #F5AE5A

    #F5AE5A

    oklch(80.3% 0.13 68.6)

  • #31D9CF

    #31D9CF

    oklch(80.2% 0.13 188.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A7FF

    #D7A7FF

    oklch(80.3% 0.131 308.7)

  • #FFA487

    #FFA487

    oklch(80.3% 0.116 38.4)

  • #A5CF71

    #A5CF71

    oklch(80.3% 0.13 128.7)

  • #3DD2F7

    #3DD2F7

    oklch(80.3% 0.131 218.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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