#B7A5FF

Closest named color: Pastel Purple (#CAA0FF). oklch(77.2% 0.127 292.3), rgb(183, 165, 255).

Aa

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

About this color

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

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

Values

HEX#B7A5FF
RGBrgb(183, 165, 255)
HSLhsl(252, 100%, 82%)
OKLCHoklch(77.2% 0.127 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 #B7A5FF 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #B7A5FF 9.83:1 AAA Lc 62.1 Content text, not long reading
#B7A5FF text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#B7A5FF text on black 9.83:1 AAA Lc -60.4 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)

    #B7A5FF

    oklch(77.2% 0.127 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

    #8133FF

    oklch(55.6% 0.271 292.4)

  8. Step 700

    700

    #6F14E4

    oklch(49.1% 0.263 292.4)

  9. Step 800

    800

    #5A1AB8

    oklch(42.7% 0.218 292.5)

  10. Step 900

    900

    #492191

    oklch(37.7% 0.17 292.6)

  11. Step 950

    950

    #2A1655

    oklch(27% 0.107 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#B7A5FF 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)#8CB3FF0.063
Deuteranopia (no green cones)#8EB0FD0.058
Tritanopia (no blue cones)#A7B5C60.107
Achromatopsia (no color)#B1B1B10.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7A5FF

    #B7A5FF

    oklch(77.2% 0.127 292.3)

  • #B6BD56

    #B6BD56

    oklch(77.2% 0.127 112.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7A5FF

    #B7A5FF

    oklch(77.2% 0.127 292.3)

  • #8CB4FF

    #8CB4FF

    oklch(77% 0.117 262.4)

  • #DB99E5

    #DB99E5

    oklch(77.3% 0.127 322.1)

Open the analogous palette in the generator

Split complementary

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

  • #B7A5FF

    #B7A5FF

    oklch(77.2% 0.127 292.3)

  • #DDAC4A

    #DDAC4A

    oklch(77.1% 0.128 82)

  • #83C97D

    #83C97D

    oklch(77.1% 0.127 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7A5FF

    #B7A5FF

    oklch(77.2% 0.127 292.3)

  • #F49C64

    #F49C64

    oklch(77% 0.128 52.3)

  • #47CFAC

    #47CFAC

    oklch(77.2% 0.128 172.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7A5FF

    #B7A5FF

    oklch(77.2% 0.127 292.3)

  • #FC928F

    #FC928F

    oklch(77.1% 0.129 22.2)

  • #B6BD56

    #B6BD56

    oklch(77.2% 0.127 112.6)

  • #1DCCD8

    #1DCCD8

    oklch(77.1% 0.128 202.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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