#B8A7FF

Closest named color: Pastel Purple (#CAA0FF). oklch(77.6% 0.125 292.1), rgb(184, 167, 255).

Aa

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

About this color

#B8A7FF is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.125 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.030 away. Black text reads best on it, at 10.00:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text10.00:1
White text2.09:1

Values

HEX#B8A7FF
RGBrgb(184, 167, 255)
HSLhsl(252, 100%, 83%)
OKLCHoklch(77.6% 0.125 292.1)

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 #B8A7FF 2.09:1 Fails Lc -45.6 Large or bold text, headings
Black text on #B8A7FF 10.00:1 AAA Lc 62.9 Content text, not long reading
#B8A7FF text on white 2.09:1 Fails Lc 41.0 Non-text elements, placeholder text
#B8A7FF text on black 10.00:1 AAA Lc -61.3 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #EAE6FF

    oklch(93.6% 0.034 293.1)

  3. Step 200

    200

    #D9D3FF

    oklch(88.6% 0.06 291.4)

  4. Step 300

    300 (this color)

    #B8A7FF

    oklch(77.6% 0.125 292.1)

  5. Step 400

    400

    #A48AFF

    oklch(70.7% 0.167 291.8)

  6. Step 500

    500

    #9165FF

    oklch(63.1% 0.218 292.1)

  7. Step 600

    600

    #8034FF

    oklch(55.6% 0.27 292)

  8. Step 700

    700

    #6E1CE1

    oklch(49.1% 0.257 292.2)

  9. Step 800

    800

    #591EB6

    oklch(42.7% 0.213 292.1)

  10. Step 900

    900

    #482390

    oklch(37.7% 0.166 291.9)

  11. Step 950

    950

    #2A1754

    oklch(27.1% 0.105 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#B8A7FF 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)#8FB4FF0.060
Deuteranopia (no green cones)#90B1FD0.056
Tritanopia (no blue cones)#A8B6C70.104
Achromatopsia (no color)#B3B3B30.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #B8A7FF

    #B8A7FF

    oklch(77.6% 0.125 292.1)

  • #B8BE5A

    #B8BE5A

    oklch(77.6% 0.124 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B8A7FF

    #B8A7FF

    oklch(77.6% 0.125 292.1)

  • #8EB6FF

    #8EB6FF

    oklch(77.6% 0.114 262)

  • #DC9BE5

    #DC9BE5

    oklch(77.7% 0.124 322.4)

Open the analogous palette in the generator

Split complementary

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

  • #B8A7FF

    #B8A7FF

    oklch(77.6% 0.125 292.1)

  • #DEAE4F

    #DEAE4F

    oklch(77.7% 0.125 82)

  • #87CA7F

    #87CA7F

    oklch(77.5% 0.124 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B8A7FF

    #B8A7FF

    oklch(77.6% 0.125 292.1)

  • #F59E68

    #F59E68

    oklch(77.6% 0.125 51.8)

  • #4ED0AD

    #4ED0AD

    oklch(77.7% 0.125 171.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B8A7FF

    #B8A7FF

    oklch(77.6% 0.125 292.1)

  • #FC9592

    #FC9592

    oklch(77.7% 0.125 22.1)

  • #B8BE5A

    #B8BE5A

    oklch(77.6% 0.124 112.1)

  • #2CCDD8

    #2CCDD8

    oklch(77.6% 0.124 202.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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