#B7A7FA

Closest named color: Pastel Purple (#CAA0FF). oklch(77.3% 0.118 292.3), rgb(183, 167, 250).

Aa

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

About this color

#B7A7FA is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.118 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.033 away. Black text reads best on it, at 9.92:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.92:1
White text2.11:1

Values

HEX#B7A7FA
RGBrgb(183, 167, 250)
HSLhsl(252, 89%, 82%)
OKLCHoklch(77.3% 0.118 292.3)

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 #B7A7FA 2.11:1 Fails Lc -46.1 Large or bold text, headings
Black text on #B7A7FA 9.92:1 AAA Lc 62.5 Content text, not long reading
#B7A7FA text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#B7A7FA text on black 9.92:1 AAA Lc -60.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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #EAE6FF

    oklch(93.6% 0.034 293.1)

  3. Step 200

    200

    #D9D2FF

    oklch(88.4% 0.062 292.2)

  4. Step 300

    300 (this color)

    #B7A7FA

    oklch(77.3% 0.118 292.3)

  5. Step 400

    400

    #A589FF

    oklch(70.7% 0.169 292.5)

  6. Step 500

    500

    #9165FF

    oklch(63.1% 0.218 292.1)

  7. Step 600

    600

    #8039FA

    oklch(55.6% 0.261 292.4)

  8. Step 700

    700

    #6D27DA

    oklch(49.1% 0.243 292.5)

  9. Step 800

    800

    #5825B0

    oklch(42.7% 0.201 292.3)

  10. Step 900

    900

    #48268B

    oklch(37.7% 0.157 292.7)

  11. Step 950

    950

    #2A1852

    oklch(27% 0.1 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#B7A7FA 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)#91B3FD0.055
Deuteranopia (no green cones)#92B1F80.053
Tritanopia (no blue cones)#A8B5C50.098
Achromatopsia (no color)#B2B2B20.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7A7FA

    #B7A7FA

    oklch(77.3% 0.118 292.3)

  • #B7BD60

    #B7BD60

    oklch(77.4% 0.117 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7A7FA

    #B7A7FA

    oklch(77.3% 0.118 292.3)

  • #8DB5FF

    #8DB5FF

    oklch(77.3% 0.115 262.2)

  • #D99CE2

    #D99CE2

    oklch(77.4% 0.117 322.1)

Open the analogous palette in the generator

Split complementary

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

  • #B7A7FA

    #B7A7FA

    oklch(77.3% 0.118 292.3)

  • #DAAE56

    #DAAE56

    oklch(77.3% 0.118 82.7)

  • #88C882

    #88C882

    oklch(77.2% 0.117 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7A7FA

    #B7A7FA

    oklch(77.3% 0.118 292.3)

  • #F09F6C

    #F09F6C

    oklch(77.2% 0.118 52.4)

  • #56CDAD

    #56CDAD

    oklch(77.2% 0.117 172.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7A7FA

    #B7A7FA

    oklch(77.3% 0.118 292.3)

  • #F79693

    #F79693

    oklch(77.3% 0.117 22)

  • #B7BD60

    #B7BD60

    oklch(77.4% 0.117 112.1)

  • #3CCBD5

    #3CCBD5

    oklch(77.3% 0.118 202)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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