#D7A8FB

Closest named color: Pale Violet (#CEAEFA). oklch(80.3% 0.124 309.7), rgb(215, 168, 251).

Aa

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

About this color

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

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

Values

HEX#D7A8FB
RGBrgb(215, 168, 251)
HSLhsl(274, 91%, 82%)
OKLCHoklch(80.3% 0.124 309.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 #D7A8FB 1.92:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #D7A8FB 10.88:1 AAA Lc 67.0 Content text, not long reading
#D7A8FB text on white 1.92:1 Fails Lc 36.9 Non-text elements, placeholder text
#D7A8FB text on black 10.88:1 AAA Lc -65.6 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FC

    oklch(93.6% 0.035 309.8)

  3. Step 200

    200

    #E7CDFC

    oklch(88.5% 0.069 309.8)

  4. Step 300

    300 (this color)

    #D7A8FB

    oklch(80.3% 0.124 309.7)

  5. Step 400

    400

    #C677FC

    oklch(70.8% 0.199 309.7)

  6. Step 500

    500

    #B748F9

    oklch(63.1% 0.254 309.6)

  7. Step 600

    600

    #A30EE8

    oklch(55.6% 0.276 309.6)

  8. Step 700

    700

    #8B00C6

    oklch(49.1% 0.249 309.9)

  9. Step 800

    800

    #7106A3

    oklch(42.7% 0.212 309.4)

  10. Step 900

    900

    #5C1881

    oklch(37.7% 0.165 309.9)

  11. Step 950

    950

    #36114C

    oklch(27.1% 0.106 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#D7A8FB 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)#99B8FE0.090
Deuteranopia (no green cones)#A3BBF90.083
Tritanopia (no blue cones)#D3B3C60.090
Achromatopsia (no color)#BBBBBB0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7A8FB

    #D7A8FB

    oklch(80.3% 0.124 309.7)

  • #A5CF77

    #A5CF77

    oklch(80.4% 0.124 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7A8FB

    #D7A8FB

    oklch(80.3% 0.124 309.7)

  • #B1B8FF

    #B1B8FF

    oklch(80.3% 0.101 279.5)

  • #F49FD8

    #F49FD8

    oklch(80.4% 0.123 339.9)

Open the analogous palette in the generator

Split complementary

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

  • #D7A8FB

    #D7A8FB

    oklch(80.3% 0.124 309.7)

  • #D2C05A

    #D2C05A

    oklch(80.3% 0.124 99.4)

  • #6FD7A3

    #6FD7A3

    oklch(80.3% 0.124 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7A8FB

    #D7A8FB

    oklch(80.3% 0.124 309.7)

  • #F2B060

    #F2B060

    oklch(80.4% 0.124 69.7)

  • #40D8D0

    #40D8D0

    oklch(80.3% 0.124 189.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7A8FB

    #D7A8FB

    oklch(80.3% 0.124 309.7)

  • #FFA485

    #FFA485

    oklch(80.3% 0.117 39.6)

  • #A5CF77

    #A5CF77

    oklch(80.4% 0.124 129.7)

  • #4BD1F6

    #4BD1F6

    oklch(80.3% 0.125 220)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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