#B2A1FF

Closest named color: Pastel Purple (#CAA0FF). oklch(76% 0.133 291.2), rgb(178, 161, 255).

Aa

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

About this color

#B2A1FF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.133 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.43:1.

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

Values

HEX#B2A1FF
RGBrgb(178, 161, 255)
HSLhsl(251, 100%, 82%)
OKLCHoklch(76% 0.133 291.2)

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 #B2A1FF 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #B2A1FF 9.43:1 AAA Lc 60.2 Content text, not long reading
#B2A1FF text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#B2A1FF text on black 9.43:1 AAA Lc -58.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

    #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)

    #B2A1FF

    oklch(76% 0.133 291.2)

  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

    #7E36FF

    oklch(55.5% 0.268 291.1)

  8. Step 700

    700

    #6E01EB

    oklch(49.1% 0.275 291.3)

  9. Step 800

    800

    #5912BE

    oklch(42.7% 0.228 291.2)

  10. Step 900

    900

    #481E96

    oklch(37.7% 0.178 291.2)

  11. Step 950

    950

    #2A1558

    oklch(27.1% 0.113 291.4)

Export this scale for Tailwind in the Tailwind colors tool

#B2A1FF 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)#86AFFF0.063
Deuteranopia (no green cones)#87ACFD0.060
Tritanopia (no blue cones)#A0B2C40.112
Achromatopsia (no color)#AEAEAE0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A1FF

    #B2A1FF

    oklch(76% 0.133 291.2)

  • #B5B94A

    #B5B94A

    oklch(76.1% 0.134 111.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A1FF

    #B2A1FF

    oklch(76% 0.133 291.2)

  • #85B1FF

    #85B1FF

    oklch(76% 0.123 261.4)

  • #D894E4

    #D894E4

    oklch(76.1% 0.133 321.4)

Open the analogous palette in the generator

Split complementary

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

  • #B2A1FF

    #B2A1FF

    oklch(76% 0.133 291.2)

  • #DCA73F

    #DCA73F

    oklch(76% 0.133 80.8)

  • #7FC675

    #7FC675

    oklch(76% 0.133 141.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A1FF

    #B2A1FF

    oklch(76% 0.133 291.2)

  • #F4975E

    #F4975E

    oklch(76.1% 0.133 51.1)

  • #3BCCA6

    #3BCCA6

    oklch(76% 0.133 171.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A1FF

    #B2A1FF

    oklch(76% 0.133 291.2)

  • #FA8D8C

    #FA8D8C

    oklch(76% 0.132 21.2)

  • #B5B94A

    #B5B94A

    oklch(76.1% 0.134 111.1)

  • #00C9D3

    #00C9D3

    oklch(76% 0.129 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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