#B2AFEE#B2AFEE
#B2AFEE is a light, moderate blue. Relative luminance 0.463; OKLCH L 77.9% C 0.089 H 286.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFEE |
|---|---|
| RGB | rgb(178, 175, 238) |
| HSL | hsl(243, 65%, 81%) |
| HSV | hsv(243, 26%, 93%) |
| CMYK | cmyk(25.2%, 26.5%, 0%, 6.7%) |
| CIE-LAB | lab(73.74, 14.44, -31.02) |
| CIE-LCH | lch(73.74, 34.22, 294.96°) |
| OKLab | oklab(77.91% 0.0251 -0.0856) |
| OKLCH | oklch(77.91% 0.089 286.3) |
| XYZ | xyz(49.1188, 46.2970, 87.2207) |
| Luminance | 0.4630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.81
Lavender
#B39DDB
ΔE00 6.44
Pale Violet
#CEAEFA
ΔE00 6.75
Periwinkle
#CCCCFF
ΔE00 7.42
Light Violet
#D6B4FC
ΔE00 7.86
Lavender (survey)
#C79FEF
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFEE #EBEEAF
analogous
#AFCBEE #B2AFEE #D1AFEE
triadic
#B2AFEE #EEB2AF #AFEEB2
tetradic
#B2AFEE #EEAFCB #EBEEAF #AFEED1
square
#B2AFEE #EEAFCB #EBEEAF #AFEED1
split-complementary
#B2AFEE #EED1AF #CBEEAF
monochromatic
#514AD9 #817DE3 #B2AFEE #E3E1F9 #E7E6FA
Accessibility & contrast
On white
2.05
#B2AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#B2AFEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFEE
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFEE | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9EB7F1
Deuteranopia (green-blind)
#9DB3EC
Tritanopia (blue-blind)
#A4BAC5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b2afee; /* rgb */ color: rgb(178, 175, 238); /* oklch */ color: oklch(77.9% 0.089 286.3);
Tailwind
colors: {
custom: {
50: '#cac6f3',
500: '#b2afee',
950: '#000000',
},
}SCSS
$custom: #b2afee; $custom-light: #cac6f3; $custom-dark: #000000;
JSON
{
"hex": "#b2afee",
"rgb": {
"r": 178,
"g": 175,
"b": 238
},
"hsl": {
"h": 242.857,
"s": 64.948,
"l": 80.98
},
"oklch": {
"l": 0.77905,
"c": 0.08919,
"h": 286.3
},
"luminance": 0.46298
}Semantic roles & 50–950 ramp
primary
#B2AFEE
secondary
#F0F1DA
accent
#CD19C4
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285