#B8B1F2#B8B1F2
#B8B1F2 is a light, moderate blue. Relative luminance 0.480; OKLCH L 78.9% C 0.092 H 289.0°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B1F2 |
|---|---|
| RGB | rgb(184, 177, 242) |
| HSL | hsl(246, 71%, 82%) |
| HSV | hsv(246, 27%, 95%) |
| CMYK | cmyk(24%, 26.9%, 0%, 5.1%) |
| CIE-LAB | lab(74.85, 16.05, -31.43) |
| CIE-LCH | lch(74.85, 35.29, 297.05°) |
| OKLab | oklab(78.93% 0.0299 -0.0867) |
| OKLCH | oklch(78.93% 0.092 289) |
| XYZ | xyz(51.5124, 48.0446, 90.5468) |
| Luminance | 0.4804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.54
Pale Violet
#CEAEFA
ΔE00 5.63
Lavender
#B39DDB
ΔE00 6.35
Light Violet
#D6B4FC
ΔE00 6.66
Periwinkle
#CCCCFF
ΔE00 6.86
Lavender (survey)
#C79FEF
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B1F2 #EBF2B1
analogous
#B1CAF2 #B8B1F2 #D9B1F2
triadic
#B8B1F2 #F2B8B1 #B1F2B8
tetradic
#B8B1F2 #F2B1CA #EBF2B1 #B1F2D9
square
#B8B1F2 #F2B1CA #EBF2B1 #B1F2D9
split-complementary
#B8B1F2 #F2D9B1 #CAF2B1
monochromatic
#5948E1 #887DE9 #B8B1F2 #E7E5FB #E7E5FB
Accessibility & contrast
On white
1.98
#B8B1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#B8B1F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B1F2
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B1F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B1F2 | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0BAF5
Deuteranopia (green-blind)
#A0B7F0
Tritanopia (blue-blind)
#ABBCC8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b8b1f2; /* rgb */ color: rgb(184, 177, 242); /* oklch */ color: oklch(78.9% 0.092 289.0);
Tailwind
colors: {
custom: {
50: '#cec8f6',
500: '#b8b1f2',
950: '#000000',
},
}SCSS
$custom: #b8b1f2; $custom-light: #cec8f6; $custom-dark: #000000;
JSON
{
"hex": "#b8b1f2",
"rgb": {
"r": 184,
"g": 177,
"b": 242
},
"hsl": {
"h": 246.462,
"s": 71.429,
"l": 82.157
},
"oklch": {
"l": 0.78931,
"c": 0.0917,
"h": 289
},
"luminance": 0.48045
}Semantic roles & 50–950 ramp
primary
#B8B1F2
secondary
#F0F2D9
accent
#D312BF
background
#FCFCFF
surface
#F9F8FE
border
#D2D1D6
text
#141317
muted
#828285