#B5A2EC

Closest named color: Baby Purple (#CA9BF7). oklch(75.6% 0.106 295.5), rgb(181, 162, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.34:1
White text2.24:1

Values

HEX#B5A2EC
RGBrgb(181, 162, 236)
HSLhsl(255, 66%, 78%)
OKLCHoklch(75.6% 0.106 295.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 #B5A2EC 2.24:1 Fails Lc -49.1 Large or bold text, headings
Black text on #B5A2EC 9.34:1 AAA Lc 59.7 Large or bold text, headings
#B5A2EC text on white 2.24:1 Fails Lc 44.3 Non-text elements, placeholder text
#B5A2EC text on black 9.34:1 AAA Lc -57.9 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C3B9E8

    oklch(81% 0.066 294.6)

  5. Step 400

    400 (this color)

    #B5A2EC

    oklch(75.6% 0.106 295.5)

  6. Step 500

    500

    #9176D2

    oklch(63% 0.137 295.8)

  7. Step 600

    600

    #7C5DBF

    oklch(55.6% 0.148 295.8)

  8. Step 700

    700

    #684CA5

    oklch(49% 0.138 295.3)

  9. Step 800

    800

    #553F85

    oklch(42.6% 0.113 295.7)

  10. Step 900

    900

    #46366B

    oklch(37.7% 0.089 295.7)

  11. Step 950

    950

    #29203F

    oklch(27% 0.057 295.7)

Export this scale for Tailwind in the Tailwind colors tool

#B5A2EC 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)#90ADEF0.054
Deuteranopia (no green cones)#92ACEA0.052
Tritanopia (no blue cones)#AAAEBD0.086
Achromatopsia (no color)#ADADAD0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5A2EC

    #B5A2EC

    oklch(75.6% 0.106 295.5)

  • #ADB867

    #ADB867

    oklch(75.6% 0.106 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5A2EC

    #B5A2EC

    oklch(75.6% 0.106 295.5)

  • #8FAEF4

    #8FAEF4

    oklch(75.5% 0.107 265.6)

  • #D398D4

    #D398D4

    oklch(75.6% 0.106 326)

Open the analogous palette in the generator

Split complementary

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

  • #B5A2EC

    #B5A2EC

    oklch(75.6% 0.106 295.5)

  • #CEAB5C

    #CEAB5C

    oklch(75.6% 0.106 85.9)

  • #83C286

    #83C286

    oklch(75.6% 0.107 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5A2EC

    #B5A2EC

    oklch(75.6% 0.106 295.5)

  • #E49E6C

    #E49E6C

    oklch(75.7% 0.106 55.9)

  • #5BC6AD

    #5BC6AD

    oklch(75.6% 0.106 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5A2EC

    #B5A2EC

    oklch(75.6% 0.106 295.5)

  • #EC958D

    #EC958D

    oklch(75.7% 0.106 25.6)

  • #ADB867

    #ADB867

    oklch(75.6% 0.106 115.3)

  • #4CC3D0

    #4CC3D0

    oklch(75.6% 0.106 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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