#B2A1EC

Closest named color: Baby Purple (#CA9BF7). oklch(75.1% 0.107 294.1), rgb(178, 161, 236).

Aa

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

About this color

#B2A1EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.107 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.043 away. Black text reads best on it, at 9.20:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.20:1
White text2.28:1

Values

HEX#B2A1EC
RGBrgb(178, 161, 236)
HSLhsl(254, 66%, 78%)
OKLCHoklch(75.1% 0.107 294.1)

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 #B2A1EC 2.28:1 Fails Lc -49.8 Large or bold text, headings
Black text on #B2A1EC 9.20:1 AAA Lc 59.0 Large or bold text, headings
#B2A1EC text on white 2.28:1 Fails Lc 45.0 Non-text elements, placeholder text
#B2A1EC text on black 9.20:1 AAA Lc -57.2 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 400.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5F0

    oklch(88.5% 0.037 294.1)

  4. Step 300

    300

    #C2B9E8

    oklch(80.9% 0.066 293.6)

  5. Step 400

    400 (this color)

    #B2A1EC

    oklch(75.1% 0.107 294.1)

  6. Step 500

    500

    #8F77D4

    oklch(63.2% 0.138 294)

  7. Step 600

    600

    #7A5EC1

    oklch(55.7% 0.149 294.1)

  8. Step 700

    700

    #674DA6

    oklch(49.1% 0.138 294.2)

  9. Step 800

    800

    #543F87

    oklch(42.7% 0.116 294.4)

  10. Step 900

    900

    #45366C

    oklch(37.6% 0.09 294.4)

  11. Step 950

    950

    #28203F

    oklch(26.9% 0.057 294.1)

Export this scale for Tailwind in the Tailwind colors tool

#B2A1EC 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)#8EACEF0.052
Deuteranopia (no green cones)#90AAEA0.050
Tritanopia (no blue cones)#A6AEBC0.090
Achromatopsia (no color)#ACACAC0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A1EC

    #B2A1EC

    oklch(75.1% 0.107 294.1)

  • #ADB663

    #ADB663

    oklch(75.1% 0.108 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A1EC

    #B2A1EC

    oklch(75.1% 0.107 294.1)

  • #8CAEF3

    #8CAEF3

    oklch(75.3% 0.107 263.9)

  • #D097D5

    #D097D5

    oklch(75.1% 0.107 323.8)

Open the analogous palette in the generator

Split complementary

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

  • #B2A1EC

    #B2A1EC

    oklch(75.1% 0.107 294.1)

  • #CEA95A

    #CEA95A

    oklch(75.2% 0.107 84.6)

  • #83C083

    #83C083

    oklch(75% 0.107 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A1EC

    #B2A1EC

    oklch(75.1% 0.107 294.1)

  • #E49B6B

    #E49B6B

    oklch(75.1% 0.108 53.7)

  • #59C5A9

    #59C5A9

    oklch(75.2% 0.108 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A1EC

    #B2A1EC

    oklch(75.1% 0.107 294.1)

  • #EB938D

    #EB938D

    oklch(75.2% 0.108 24.2)

  • #ADB663

    #ADB663

    oklch(75.1% 0.108 114.1)

  • #48C2CE

    #48C2CE

    oklch(75.2% 0.107 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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