#B2AFE2#B2AFE2
#B2AFE2 is a light, moderate blue. Relative luminance 0.456; OKLCH L 77.4% C 0.072 H 287.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFE2 |
|---|---|
| RGB | rgb(178, 175, 226) |
| HSL | hsl(244, 47%, 79%) |
| HSV | hsv(244, 23%, 89%) |
| CMYK | cmyk(21.2%, 22.6%, 0%, 11.4%) |
| CIE-LAB | lab(73.30, 11.65, -25.18) |
| CIE-LCH | lch(73.30, 27.75, 294.83°) |
| OKLab | oklab(77.42% 0.0215 -0.069) |
| OKLCH | oklch(77.42% 0.072 287.3) |
| XYZ | xyz(47.4143, 45.6152, 78.2434) |
| Luminance | 0.4562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.09
Light Periwinkle
#C1C6FC
ΔE00 6.19
Periwinkle
#CCCCFF
ΔE00 7.29
Pale Violet
#CEAEFA
ΔE00 7.44
Light Violet
#D6B4FC
ΔE00 8.21
Lavender (survey)
#C79FEF
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFE2 #DFE2AF
analogous
#AFC5E2 #B2AFE2 #CBAFE2
triadic
#B2AFE2 #E2B2AF #AFE2B2
tetradic
#B2AFE2 #E2AFC5 #DFE2AF #AFE2CB
square
#B2AFE2 #E2AFC5 #DFE2AF #AFE2CB
split-complementary
#B2AFE2 #E2CBAF #C5E2AF
monochromatic
#5C55C1 #8782D2 #B2AFE2 #DDDCF2 #E9E9F7
Accessibility & contrast
On white
2.07
#B2AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B2AFE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFE2
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFE2 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2B5E4
Deuteranopia (green-blind)
#A2B3E1
Tritanopia (blue-blind)
#A8B7C0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b2afe2; /* rgb */ color: rgb(178, 175, 226); /* oklch */ color: oklch(77.4% 0.072 287.3);
Tailwind
colors: {
custom: {
50: '#c9c6eb',
500: '#b2afe2',
950: '#000000',
},
}SCSS
$custom: #b2afe2; $custom-light: #c9c6eb; $custom-dark: #000000;
JSON
{
"hex": "#b2afe2",
"rgb": {
"r": 178,
"g": 175,
"b": 226
},
"hsl": {
"h": 243.529,
"s": 46.789,
"l": 78.627
},
"oklch": {
"l": 0.77416,
"c": 0.07231,
"h": 287.3
},
"luminance": 0.45616
}Semantic roles & 50–950 ramp
primary
#B2AFE2
secondary
#EDEEDD
accent
#BA2BB2
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284