#B2A2FA

Closest named color: Pastel Purple (#CAA0FF). oklch(76% 0.125 291.5), rgb(178, 162, 250).

Aa

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

About this color

#B2A2FA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.125 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.037 away. Black text reads best on it, at 9.44:1.

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

Values

HEX#B2A2FA
RGBrgb(178, 162, 250)
HSLhsl(251, 90%, 81%)
OKLCHoklch(76% 0.125 291.5)

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 #B2A2FA 2.22:1 Fails Lc -48.5 Large or bold text, headings
Black text on #B2A2FA 9.44:1 AAA Lc 60.2 Content text, not long reading
#B2A2FA text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#B2A2FA text on black 9.44: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)

    #B2A2FA

    oklch(76% 0.125 291.5)

  5. Step 400

    400

    #A38AFF

    oklch(70.7% 0.167 291.4)

  6. Step 500

    500

    #9066FF

    oklch(63.1% 0.217 291.6)

  7. Step 600

    600

    #7F36FF

    oklch(55.6% 0.268 291.5)

  8. Step 700

    700

    #6D1CE3

    oklch(49.2% 0.259 291.5)

  9. Step 800

    800

    #581EB7

    oklch(42.7% 0.214 291.5)

  10. Step 900

    900

    #472390

    oklch(37.6% 0.166 291.3)

  11. Step 950

    950

    #291754

    oklch(26.9% 0.105 291.3)

Export this scale for Tailwind in the Tailwind colors tool

#B2A2FA 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)#8AAFFD0.058
Deuteranopia (no green cones)#8BACF80.055
Tritanopia (no blue cones)#A2B2C20.106
Achromatopsia (no color)#AEAEAE0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A2FA

    #B2A2FA

    oklch(76% 0.125 291.5)

  • #B4B853

    #B4B853

    oklch(75.9% 0.125 111.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A2FA

    #B2A2FA

    oklch(76% 0.125 291.5)

  • #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°).

  • #B2A2FA

    #B2A2FA

    oklch(76% 0.125 291.5)

  • #D9A849

    #D9A849

    oklch(75.9% 0.125 81.3)

  • #82C579

    #82C579

    oklch(76% 0.126 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A2FA

    #B2A2FA

    oklch(76% 0.125 291.5)

  • #F09964

    #F09964

    oklch(76.1% 0.125 51.3)

  • #48CAA7

    #48CAA7

    oklch(75.9% 0.125 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A2FA

    #B2A2FA

    oklch(76% 0.125 291.5)

  • #F68F8E

    #F68F8E

    oklch(75.9% 0.125 21)

  • #B4B853

    #B4B853

    oklch(75.9% 0.125 111.1)

  • #1EC8D2

    #1EC8D2

    oklch(76% 0.125 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 #B2A2FA, closest first.

Similar named colors

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

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