#B7A2FF

Closest named color: Pastel Purple (#CAA0FF). oklch(76.6% 0.132 293.4), rgb(183, 162, 255).

Aa

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

About this color

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

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

Values

HEX#B7A2FF
RGBrgb(183, 162, 255)
HSLhsl(254, 100%, 82%)
OKLCHoklch(76.6% 0.132 293.4)

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 #B7A2FF 2.18:1 Fails Lc -47.6 Large or bold text, headings
Black text on #B7A2FF 9.62:1 AAA Lc 61.1 Content text, not long reading
#B7A2FF text on white 2.18:1 Fails Lc 42.8 Non-text elements, placeholder text
#B7A2FF text on black 9.62:1 AAA Lc -59.4 Large or bold text, headings

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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EAE6FF

    oklch(93.6% 0.034 293.1)

  3. Step 200

    200

    #DAD2FF

    oklch(88.5% 0.062 293.2)

  4. Step 300

    300 (this color)

    #B7A2FF

    oklch(76.6% 0.132 293.4)

  5. Step 400

    400

    #A788FF

    oklch(70.7% 0.17 293.6)

  6. Step 500

    500

    #9463FF

    oklch(63.1% 0.221 293.5)

  7. Step 600

    600

    #8430FF

    oklch(55.6% 0.273 293.6)

  8. Step 700

    700

    #7200E7

    oklch(49.1% 0.272 293.5)

  9. Step 800

    800

    #5C11BB

    oklch(42.7% 0.226 293.2)

  10. Step 900

    900

    #4B1D93

    oklch(37.7% 0.176 293.7)

  11. Step 950

    950

    #2B1456

    oklch(26.9% 0.112 293.4)

Export this scale for Tailwind in the Tailwind colors tool

#B7A2FF 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)#88B1FF0.068
Deuteranopia (no green cones)#8BAEFD0.063
Tritanopia (no blue cones)#A7B2C50.108
Achromatopsia (no color)#AFAFAF0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7A2FF

    #B7A2FF

    oklch(76.6% 0.132 293.4)

  • #B3BC50

    #B3BC50

    oklch(76.6% 0.132 113.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7A2FF

    #B7A2FF

    oklch(76.6% 0.132 293.4)

  • #8BB2FF

    #8BB2FF

    oklch(76.6% 0.119 263.3)

  • #DC95E3

    #DC95E3

    oklch(76.6% 0.133 323.6)

Open the analogous palette in the generator

Split complementary

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

  • #B7A2FF

    #B7A2FF

    oklch(76.6% 0.132 293.4)

  • #DBAB42

    #DBAB42

    oklch(76.7% 0.132 83.6)

  • #7DC97B

    #7DC97B

    oklch(76.7% 0.133 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7A2FF

    #B7A2FF

    oklch(76.6% 0.132 293.4)

  • #F49A5E

    #F49A5E

    oklch(76.6% 0.132 53.2)

  • #3ACEAC

    #3ACEAC

    oklch(76.6% 0.132 173.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7A2FF

    #B7A2FF

    oklch(76.6% 0.132 293.4)

  • #FC8F8A

    #FC8F8A

    oklch(76.5% 0.133 23.4)

  • #B3BC50

    #B3BC50

    oklch(76.6% 0.132 113.5)

  • #00CBD8

    #00CBD8

    oklch(76.7% 0.131 203)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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