#B8B8F2#B8B8F2
#B8B8F2 is a light, moderate blue. Relative luminance 0.509; OKLCH L 80.3% C 0.082 H 284.4°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B8F2 |
|---|---|
| RGB | rgb(184, 184, 242) |
| HSL | hsl(240, 69%, 84%) |
| HSV | hsv(240, 24%, 95%) |
| CMYK | cmyk(24%, 24%, 0%, 5.1%) |
| CIE-LAB | lab(76.61, 12.20, -28.74) |
| CIE-LCH | lch(76.61, 31.22, 293.00°) |
| OKLab | oklab(80.29% 0.0203 -0.0791) |
| OKLCH | oklch(80.29% 0.082 284.4) |
| XYZ | xyz(52.9307, 50.8811, 91.0195) |
| Luminance | 0.5088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 3.49
Periwinkle
#CCCCFF
ΔE00 5.12
Pale Violet
#CEAEFA
ΔE00 7.34
Light Violet
#D6B4FC
ΔE00 7.95
Pastel Blue
#A2BFFE
ΔE00 8.20
Lavender
#B39DDB
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B8F2 #F2F2B8
analogous
#B8D5F2 #B8B8F2 #D5B8F2
triadic
#B8B8F2 #F2B8B8 #B8F2B8
tetradic
#B8B8F2 #F2B8D5 #F2F2B8 #B8F2D5
square
#B8B8F2 #F2B8D5 #F2F2B8 #B8F2D5
split-complementary
#B8B8F2 #F2D5B8 #D5F2B8
monochromatic
#5151DF #8484E9 #B8B8F2 #E5E5FA #E5E5FA
Accessibility & contrast
On white
1.88
#B8B8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.18
#B8B8F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B8F2
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B8F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B8F2 | 1.00 | 1.88 | 11.18 | 11.18 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9BFF5
Deuteranopia (green-blind)
#A7BBF0
Tritanopia (blue-blind)
#ABC2CC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b8b8f2; /* rgb */ color: rgb(184, 184, 242); /* oklch */ color: oklch(80.3% 0.082 284.4);
Tailwind
colors: {
custom: {
50: '#cecdf6',
500: '#b8b8f2',
950: '#000000',
},
}SCSS
$custom: #b8b8f2; $custom-light: #cecdf6; $custom-dark: #000000;
JSON
{
"hex": "#b8b8f2",
"rgb": {
"r": 184,
"g": 184,
"b": 242
},
"hsl": {
"h": 240,
"s": 69.048,
"l": 83.529
},
"oklch": {
"l": 0.80289,
"c": 0.08163,
"h": 284.4
},
"luminance": 0.50882
}Semantic roles & 50–950 ramp
primary
#B8B8F2
secondary
#D2D27D
accent
#D114D1
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141317
muted
#838385