#B2A2FB

Closest named color: Pastel Purple (#CAA0FF). oklch(76% 0.126 291.3), rgb(178, 162, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.45:1
White text2.22:1

Values

HEX#B2A2FB
RGBrgb(178, 162, 251)
HSLhsl(251, 92%, 81%)
OKLCHoklch(76% 0.126 291.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 #B2A2FB 2.22:1 Fails Lc -48.5 Large or bold text, headings
Black text on #B2A2FB 9.45:1 AAA Lc 60.3 Content text, not long reading
#B2A2FB text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#B2A2FB text on black 9.45:1 AAA Lc -58.5 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E6FF

    oklch(93.5% 0.034 291.2)

  3. Step 200

    200

    #D9D3FF

    oklch(88.6% 0.06 291.4)

  4. Step 300

    300 (this color)

    #B2A2FB

    oklch(76% 0.126 291.3)

  5. Step 400

    400

    #A38AFF

    oklch(70.7% 0.167 291.4)

  6. Step 500

    500

    #8F66FF

    oklch(63% 0.217 291.2)

  7. Step 600

    600

    #7F36FF

    oklch(55.6% 0.268 291.5)

  8. Step 700

    700

    #6D19E4

    oklch(49.1% 0.261 291.5)

  9. Step 800

    800

    #581CB8

    oklch(42.6% 0.216 291.4)

  10. Step 900

    900

    #472291

    oklch(37.6% 0.169 291.3)

  11. Step 950

    950

    #291755

    oklch(27% 0.106 290.9)

Export this scale for Tailwind in the Tailwind colors tool

#B2A2FB 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)#89AFFF0.058
Deuteranopia (no green cones)#8AACF90.056
Tritanopia (no blue cones)#A1B2C30.106
Achromatopsia (no color)#AEAEAE0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A2FB

    #B2A2FB

    oklch(76% 0.126 291.3)

  • #B4B952

    #B4B952

    oklch(76.1% 0.127 111.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A2FB

    #B2A2FB

    oklch(76% 0.126 291.3)

  • #85B1FF

    #85B1FF

    oklch(76% 0.123 261.4)

  • #D696E1

    #D696E1

    oklch(76.1% 0.125 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #B2A2FB

    #B2A2FB

    oklch(76% 0.126 291.3)

  • #DAA848

    #DAA848

    oklch(76% 0.126 81)

  • #82C578

    #82C578

    oklch(76% 0.127 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A2FB

    #B2A2FB

    oklch(76% 0.126 291.3)

  • #F09963

    #F09963

    oklch(76% 0.126 51.7)

  • #46CBA7

    #46CBA7

    oklch(76% 0.127 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A2FB

    #B2A2FB

    oklch(76% 0.126 291.3)

  • #F78F8E

    #F78F8E

    oklch(76% 0.126 21)

  • #B4B952

    #B4B952

    oklch(76.1% 0.127 111.6)

  • #18C8D2

    #18C8D2

    oklch(75.9% 0.126 201.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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