#B2AFF4#B2AFF4
#B2AFF4 is a light, moderate blue. Relative luminance 0.467; OKLCH L 78.2% C 0.098 H 285.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFF4 |
|---|---|
| RGB | rgb(178, 175, 244) |
| HSL | hsl(243, 76%, 82%) |
| HSV | hsv(243, 28%, 96%) |
| CMYK | cmyk(27%, 28.3%, 0%, 4.3%) |
| CIE-LAB | lab(73.97, 15.87, -33.92) |
| CIE-LCH | lch(73.97, 37.45, 295.08°) |
| OKLab | oklab(78.16% 0.0267 -0.0938) |
| OKLCH | oklch(78.16% 0.098 285.9) |
| XYZ | xyz(50.0150, 46.6555, 91.9407) |
| Luminance | 0.4666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.96
Pale Violet
#CEAEFA
ΔE00 6.81
Lavender
#B39DDB
ΔE00 7.01
Periwinkle
#CCCCFF
ΔE00 7.75
Light Violet
#D6B4FC
ΔE00 8.04
Pastel Purple
#CAA0FF
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFF4 #F1F4AF
analogous
#AFCFF4 #B2AFF4 #D5AFF4
triadic
#B2AFF4 #F4B2AF #AFF4B2
tetradic
#B2AFF4 #F4AFCF #F1F4AF #AFF4D5
square
#B2AFF4 #F4AFCF #F1F4AF #AFF4D5
split-complementary
#B2AFF4 #F4D5AF #CFF4AF
monochromatic
#4A43E5 #7E79ED #B2AFF4 #E5E4FB #E5E4FB
Accessibility & contrast
On white
2.03
#B2AFF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#B2AFF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFF4
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFF4 | 1.00 | 2.03 | 10.33 | 10.33 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CB8F7
Deuteranopia (green-blind)
#9BB4F2
Tritanopia (blue-blind)
#A3BBC7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b2aff4; /* rgb */ color: rgb(178, 175, 244); /* oklch */ color: oklch(78.2% 0.098 285.9);
Tailwind
colors: {
custom: {
50: '#cac6f8',
500: '#b2aff4',
950: '#000000',
},
}SCSS
$custom: #b2aff4; $custom-light: #cac6f8; $custom-dark: #000000;
JSON
{
"hex": "#b2aff4",
"rgb": {
"r": 178,
"g": 175,
"b": 244
},
"hsl": {
"h": 242.609,
"s": 75.824,
"l": 82.157
},
"oklch": {
"l": 0.7816,
"c": 0.09758,
"h": 285.9
},
"luminance": 0.46657
}Semantic roles & 50–950 ramp
primary
#B2AFF4
secondary
#F2F3D8
accent
#D80DCF
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285