#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 family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.084) |
| Temperature | cool |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.28:1 |
| White text | 2.04:1 |
Values
| HEX | #B5AFEA |
| RGB | rgb(181, 175, 234) |
| HSL | hsl(246, 58%, 80%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E9E8FA
oklch(93.7% 0.024 288.5)
-
Step 200
200
#D7D5F7
oklch(88.5% 0.047 288.1)
-
Step 300
300 (this color)
#B5AFEA
oklch(78% 0.084 289)
-
Step 400
400
#9E91EE
oklch(70.6% 0.134 288.9)
-
Step 500
500
#8973E9
oklch(63.2% 0.171 289.1)
-
Step 600
600
#7458D7
oklch(55.6% 0.186 289)
-
Step 700
700
#6247BA
oklch(49.1% 0.173 289.3)
-
Step 800
800
#4F3B97
oklch(42.6% 0.144 288.8)
-
Step 900
900
#413478
oklch(37.7% 0.112 288.7)
-
Step 950
950
#261F46
oklch(27% 0.07 289.1)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #A0B7ED | 0.032 |
| Deuteranopia (no green cones) | #A0B4E8 | 0.030 |
| Tritanopia (no blue cones) | #AAB9C3 | 0.072 |
| Achromatopsia (no color) | #B5B5B5 | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Pale Violet #CEAEFA ΔE 0.044
- Pastel Blue #A2BFFE ΔE 0.047
- Light Violet #D6B4FC ΔE 0.056
- Carolina Blue #8AB8FE ΔE 0.058
- Lilac #CEA2FD ΔE 0.059
- Pastel Purple #CAA0FF ΔE 0.061
- Light Grey Blue #9DBCD4 ΔE 0.062
- Light Periwinkle #C1C6FC ΔE 0.063
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.