#B4A2FB

Closest named color: Pastel Purple (#CAA0FF). oklch(76.2% 0.126 292.4), rgb(180, 162, 251).

Aa

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

About this color

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

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

Values

HEX#B4A2FB
RGBrgb(180, 162, 251)
HSLhsl(252, 92%, 81%)
OKLCHoklch(76.2% 0.126 292.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 #B4A2FB 2.21:1 Fails Lc -48.2 Large or bold text, headings
Black text on #B4A2FB 9.50:1 AAA Lc 60.5 Content text, not long reading
#B4A2FB text on white 2.21:1 Fails Lc 43.4 Non-text elements, placeholder text
#B4A2FB text on black 9.50:1 AAA Lc -58.7 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

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

    #B4A2FB

    oklch(76.2% 0.126 292.4)

  5. Step 400

    400

    #A589FF

    oklch(70.7% 0.169 292.5)

  6. Step 500

    500

    #9265FF

    oklch(63.2% 0.218 292.5)

  7. Step 600

    600

    #8133FF

    oklch(55.6% 0.271 292.4)

  8. Step 700

    700

    #6F17E3

    oklch(49.1% 0.261 292.5)

  9. Step 800

    800

    #5A1BB7

    oklch(42.7% 0.216 292.6)

  10. Step 900

    900

    #492291

    oklch(37.8% 0.169 292.4)

  11. Step 950

    950

    #2A1655

    oklch(27% 0.107 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#B4A2FB 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)#8AB0FF0.061
Deuteranopia (no green cones)#8BADF90.059
Tritanopia (no blue cones)#A4B2C30.106
Achromatopsia (no color)#AEAEAE0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4A2FB

    #B4A2FB

    oklch(76.2% 0.126 292.4)

  • #B3BA53

    #B3BA53

    oklch(76.2% 0.127 112.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4A2FB

    #B4A2FB

    oklch(76.2% 0.126 292.4)

  • #88B1FF

    #88B1FF

    oklch(76.2% 0.121 262.6)

  • #D896E1

    #D896E1

    oklch(76.3% 0.126 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #B4A2FB

    #B4A2FB

    oklch(76.2% 0.126 292.4)

  • #D9A948

    #D9A948

    oklch(76.1% 0.126 82.2)

  • #81C67B

    #81C67B

    oklch(76.2% 0.126 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4A2FB

    #B4A2FB

    oklch(76.2% 0.126 292.4)

  • #F09A62

    #F09A62

    oklch(76.2% 0.126 52.8)

  • #45CBA9

    #45CBA9

    oklch(76.1% 0.126 172.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4A2FB

    #B4A2FB

    oklch(76.2% 0.126 292.4)

  • #F8908C

    #F8908C

    oklch(76.3% 0.127 22.8)

  • #B3BA53

    #B3BA53

    oklch(76.2% 0.127 112.6)

  • #1AC9D4

    #1AC9D4

    oklch(76.2% 0.126 202)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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