#B5AFEA

Closest named color: Pale Violet (#CEAEFA). oklch(78% 0.084 289), rgb(181, 175, 234).

Aa

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

About this color

#B5AFEA is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.084 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.044 away. Black text reads best on it, at 10.28:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.28:1
White text2.04:1

Values

HEX#B5AFEA
RGBrgb(181, 175, 234)
HSLhsl(246, 58%, 80%)
OKLCHoklch(78% 0.084 289)

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 #B5AFEA 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #B5AFEA 10.28:1 AAA Lc 64.2 Content text, not long reading
#B5AFEA text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#B5AFEA text on black 10.28:1 AAA Lc -62.6 Content text, not long reading

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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300 (this color)

    #B5AFEA

    oklch(78% 0.084 289)

  5. Step 400

    400

    #9E91EE

    oklch(70.6% 0.134 288.9)

  6. Step 500

    500

    #8973E9

    oklch(63.2% 0.171 289.1)

  7. Step 600

    600

    #7458D7

    oklch(55.6% 0.186 289)

  8. Step 700

    700

    #6247BA

    oklch(49.1% 0.173 289.3)

  9. Step 800

    800

    #4F3B97

    oklch(42.6% 0.144 288.8)

  10. Step 900

    900

    #413478

    oklch(37.7% 0.112 288.7)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#B5AFEA 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)#A0B7ED0.032
Deuteranopia (no green cones)#A0B4E80.030
Tritanopia (no blue cones)#AAB9C30.072
Achromatopsia (no color)#B5B5B50.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5AFEA

    #B5AFEA

    oklch(78% 0.084 289)

  • #BBBC7D

    #BBBC7D

    oklch(77.9% 0.083 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5AFEA

    #B5AFEA

    oklch(78% 0.084 289)

  • #97B9ED

    #97B9ED

    oklch(78% 0.083 258.7)

  • #CFA7DA

    #CFA7DA

    oklch(78.1% 0.083 318.9)

Open the analogous palette in the generator

Split complementary

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

  • #B5AFEA

    #B5AFEA

    oklch(78% 0.084 289)

  • #D4B179

    #D4B179

    oklch(77.9% 0.084 78.8)

  • #9CC591

    #9CC591

    oklch(78% 0.084 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5AFEA

    #B5AFEA

    oklch(78% 0.084 289)

  • #E4A888

    #E4A888

    oklch(78% 0.084 49.2)

  • #80C9AE

    #80C9AE

    oklch(78% 0.083 168.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5AFEA

    #B5AFEA

    oklch(78% 0.084 289)

  • #E8A2A2

    #E8A2A2

    oklch(78% 0.084 19.1)

  • #BBBC7D

    #BBBC7D

    oklch(77.9% 0.083 109)

  • #72C8CB

    #72C8CB

    oklch(78% 0.083 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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