#D7A8FE

Closest named color: Pale Violet (#CEAEFA). oklch(80.5% 0.128 308.8), rgb(215, 168, 254).

Aa

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

About this color

#D7A8FE is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.128 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.021 away. Black text reads best on it, at 10.92:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.92:1
White text1.92:1

Values

HEX#D7A8FE
RGBrgb(215, 168, 254)
HSLhsl(273, 98%, 83%)
OKLCHoklch(80.5% 0.128 308.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 #D7A8FE 1.92:1 Fails Lc -41.0 Non-text elements, placeholder text
Black text on #D7A8FE 10.92:1 AAA Lc 67.2 Content text, not long reading
#D7A8FE text on white 1.92:1 Fails Lc 36.7 Non-text elements, placeholder text
#D7A8FE text on black 10.92:1 AAA Lc -65.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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E7CDFE

    oklch(88.5% 0.072 308.9)

  4. Step 300

    300 (this color)

    #D7A8FE

    oklch(80.5% 0.128 308.8)

  5. Step 400

    400

    #C576FF

    oklch(70.7% 0.203 308.7)

  6. Step 500

    500

    #B745FE

    oklch(63.2% 0.261 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

    #5C1584

    oklch(37.7% 0.171 309)

  11. Step 950

    950

    #36104D

    oklch(27% 0.108 309.4)

Export this scale for Tailwind in the Tailwind colors tool

#D7A8FE 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)#98B9FF0.092
Deuteranopia (no green cones)#A2BCFB0.085
Tritanopia (no blue cones)#D2B4C80.093
Achromatopsia (no color)#BBBBBB0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A8FE

    #D7A8FE

    oklch(80.5% 0.128 308.8)

  • #A6CF73

    #A6CF73

    oklch(80.4% 0.128 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A8FE

    #D7A8FE

    oklch(80.5% 0.128 308.8)

  • #B1B9FF

    #B1B9FF

    oklch(80.5% 0.099 278.9)

  • #F59EDB

    #F59EDB

    oklch(80.5% 0.128 338.6)

Open the analogous palette in the generator

Split complementary

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

  • #D7A8FE

    #D7A8FE

    oklch(80.5% 0.128 308.8)

  • #D4C056

    #D4C056

    oklch(80.4% 0.128 98.7)

  • #6ED8A1

    #6ED8A1

    oklch(80.4% 0.127 159)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A8FE

    #D7A8FE

    oklch(80.5% 0.128 308.8)

  • #F5AF5D

    #F5AF5D

    oklch(80.5% 0.128 68.5)

  • #39D9D0

    #39D9D0

    oklch(80.4% 0.128 189.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A8FE

    #D7A8FE

    oklch(80.5% 0.128 308.8)

  • #FFA588

    #FFA588

    oklch(80.5% 0.115 38.6)

  • #A6CF73

    #A6CF73

    oklch(80.4% 0.128 128.6)

  • #44D2F7

    #44D2F7

    oklch(80.4% 0.128 219.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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