#B4A8F2#B4A8F2
#B4A8F2 is a light, moderate blue. Relative luminance 0.441; OKLCH L 76.9% C 0.105 H 291.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A8F2 |
|---|---|
| RGB | rgb(180, 168, 242) |
| HSL | hsl(250, 74%, 80%) |
| HSV | hsv(250, 31%, 95%) |
| CMYK | cmyk(25.6%, 30.6%, 0%, 5.1%) |
| CIE-LAB | lab(72.31, 19.87, -35.39) |
| CIE-LCH | lch(72.31, 40.59, 299.31°) |
| OKLab | oklab(76.89% 0.0379 -0.098) |
| OKLCH | oklch(76.89% 0.105 291.1) |
| XYZ | xyz(48.8481, 44.1186, 89.9293) |
| Luminance | 0.4412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.14
Pale Violet
#CEAEFA
ΔE00 5.43
Lavender (survey)
#C79FEF
ΔE00 6.14
Pastel Purple
#CAA0FF
ΔE00 6.15
Lilac (survey)
#CEA2FD
ΔE00 6.54
Light Violet
#D6B4FC
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A8F2 #E6F2A8
analogous
#A8C1F2 #B4A8F2 #D9A8F2
triadic
#B4A8F2 #F2B4A8 #A8F2B4
tetradic
#B4A8F2 #F2A8C1 #E6F2A8 #A8F2D9
square
#B4A8F2 #F2A8C1 #E6F2A8 #A8F2D9
split-complementary
#B4A8F2 #F2D9A8 #C1F2A8
monochromatic
#583EE2 #8673EA #B4A8F2 #E2DDFA #E8E4FB
Accessibility & contrast
On white
2.14
#B4A8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#B4A8F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A8F2
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A8F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A8F2 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B3F5
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#A7B5C3
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4a8f2; /* rgb */ color: rgb(180, 168, 242); /* oklch */ color: oklch(76.9% 0.105 291.1);
Tailwind
colors: {
custom: {
50: '#cbc1f6',
500: '#b4a8f2',
950: '#000000',
},
}SCSS
$custom: #b4a8f2; $custom-light: #cbc1f6; $custom-dark: #000000;
JSON
{
"hex": "#b4a8f2",
"rgb": {
"r": 180,
"g": 168,
"b": 242
},
"hsl": {
"h": 249.73,
"s": 74,
"l": 80.392
},
"oklch": {
"l": 0.76892,
"c": 0.1051,
"h": 291.1
},
"luminance": 0.44119
}Semantic roles & 50–950 ramp
primary
#B4A8F2
secondary
#EEF3D8
accent
#D60FB6
background
#FCFBFF
surface
#F9F7FE
border
#D2D0D6
text
#131217
muted
#828185