#B2AFF2#B2AFF2
#B2AFF2 is a light, moderate blue. Relative luminance 0.465; OKLCH L 78.1% C 0.095 H 286.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AFF2 |
|---|---|
| RGB | rgb(178, 175, 242) |
| HSL | hsl(243, 72%, 82%) |
| HSV | hsv(243, 28%, 95%) |
| CMYK | cmyk(26.4%, 27.7%, 0%, 5.1%) |
| CIE-LAB | lab(73.89, 15.39, -32.96) |
| CIE-LCH | lch(73.89, 36.37, 295.03°) |
| OKLab | oklab(78.07% 0.0262 -0.0911) |
| OKLCH | oklch(78.07% 0.095 286) |
| XYZ | xyz(49.7130, 46.5347, 90.3501) |
| Luminance | 0.4654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.89
Pale Violet
#CEAEFA
ΔE00 6.76
Lavender
#B39DDB
ΔE00 6.80
Periwinkle
#CCCCFF
ΔE00 7.63
Light Violet
#D6B4FC
ΔE00 7.96
Pastel Purple
#CAA0FF
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AFF2 #EFF2AF
analogous
#AFCEF2 #B2AFF2 #D4AFF2
triadic
#B2AFF2 #F2B2AF #AFF2B2
tetradic
#B2AFF2 #F2AFCE #EFF2AF #AFF2D4
square
#B2AFF2 #F2AFCE #EFF2AF #AFF2D4
split-complementary
#B2AFF2 #F2D4AF #CEF2AF
monochromatic
#4D46E1 #7F7AE9 #B2AFF2 #E5E4FB #E6E5FB
Accessibility & contrast
On white
2.04
#B2AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#B2AFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AFF2
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AFF2 | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DB7F5
Deuteranopia (green-blind)
#9BB4F0
Tritanopia (blue-blind)
#A3BBC7
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b2aff2; /* rgb */ color: rgb(178, 175, 242); /* oklch */ color: oklch(78.1% 0.095 286.0);
Tailwind
colors: {
custom: {
50: '#cac6f6',
500: '#b2aff2',
950: '#000000',
},
}SCSS
$custom: #b2aff2; $custom-light: #cac6f6; $custom-dark: #000000;
JSON
{
"hex": "#b2aff2",
"rgb": {
"r": 178,
"g": 175,
"b": 242
},
"hsl": {
"h": 242.687,
"s": 72.043,
"l": 81.765
},
"oklch": {
"l": 0.78074,
"c": 0.09479,
"h": 286
},
"luminance": 0.46536
}Semantic roles & 50–950 ramp
primary
#B2AFF2
secondary
#F1F2D9
accent
#D411CB
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285