#B4AFF2#B4AFF2
#B4AFF2 is a light, moderate blue. Relative luminance 0.468; OKLCH L 78.2% C 0.095 H 287.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AFF2 |
|---|---|
| RGB | rgb(180, 175, 242) |
| HSL | hsl(244, 72%, 82%) |
| HSV | hsv(244, 28%, 95%) |
| CMYK | cmyk(25.6%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(74.04, 15.98, -32.71) |
| CIE-LCH | lch(74.04, 36.40, 296.03°) |
| OKLab | oklab(78.23% 0.0283 -0.0904) |
| OKLCH | oklch(78.23% 0.095 287.4) |
| XYZ | xyz(50.1754, 46.7731, 90.3718) |
| Luminance | 0.4677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.92
Pale Violet
#CEAEFA
ΔE00 6.25
Lavender
#B39DDB
ΔE00 6.46
Light Violet
#D6B4FC
ΔE00 7.44
Periwinkle
#CCCCFF
ΔE00 7.52
Lavender (survey)
#C79FEF
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AFF2 #EDF2AF
analogous
#AFCCF2 #B4AFF2 #D6AFF2
triadic
#B4AFF2 #F2B4AF #AFF2B4
tetradic
#B4AFF2 #F2AFCC #EDF2AF #AFF2D6
square
#B4AFF2 #F2AFCC #EDF2AF #AFF2D6
split-complementary
#B4AFF2 #F2D6AF #CCF2AF
monochromatic
#5146E1 #837AE9 #B4AFF2 #E5E4FB #E6E5FB
Accessibility & contrast
On white
2.03
#B4AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#B4AFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AFF2
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AFF2 | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DB8F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#A6BBC7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b4aff2; /* rgb */ color: rgb(180, 175, 242); /* oklch */ color: oklch(78.2% 0.095 287.4);
Tailwind
colors: {
custom: {
50: '#cbc6f6',
500: '#b4aff2',
950: '#000000',
},
}SCSS
$custom: #b4aff2; $custom-light: #cbc6f6; $custom-dark: #000000;
JSON
{
"hex": "#b4aff2",
"rgb": {
"r": 180,
"g": 175,
"b": 242
},
"hsl": {
"h": 244.478,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.7823,
"c": 0.0947,
"h": 287.4
},
"luminance": 0.46774
}Semantic roles & 50–950 ramp
primary
#B4AFF2
secondary
#F0F2D9
accent
#D411C6
background
#FCFCFF
surface
#F9F8FE
border
#D2D1D6
text
#131317
muted
#828285