#B8AEE2#B8AEE2
#B8AEE2 is a light, moderate violet. Relative luminance 0.460; OKLCH L 77.7% C 0.074 H 293.4°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AEE2 |
|---|---|
| RGB | rgb(184, 174, 226) |
| HSL | hsl(252, 47%, 78%) |
| HSV | hsv(252, 23%, 89%) |
| CMYK | cmyk(18.6%, 23%, 0%, 11.4%) |
| CIE-LAB | lab(73.52, 14.06, -24.80) |
| CIE-LCH | lch(73.52, 28.51, 299.54°) |
| OKLab | oklab(77.7% 0.0294 -0.0679) |
| OKLCH | oklch(77.7% 0.074 293.4) |
| XYZ | xyz(48.6276, 45.9530, 78.2447) |
| Luminance | 0.4595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.02
Pale Violet
#CEAEFA
ΔE00 6.19
Light Violet
#D6B4FC
ΔE00 6.80
Light Periwinkle
#C1C6FC
ΔE00 7.09
Lavender (survey)
#C79FEF
ΔE00 7.55
Periwinkle
#CCCCFF
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AEE2 #D8E2AE
analogous
#AEBEE2 #B8AEE2 #D2AEE2
triadic
#B8AEE2 #E2B8AE #AEE2B8
tetradic
#B8AEE2 #E2AEBE #D8E2AE #AEE2D2
square
#B8AEE2 #E2AEBE #D8E2AE #AEE2D2
split-complementary
#B8AEE2 #E2D2AE #BEE2AE
monochromatic
#6954C2 #9081D2 #B8AEE2 #E0DBF2 #EBE8F7
Accessibility & contrast
On white
2.06
#B8AEE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#B8AEE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AEE2
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AEE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AEE2 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2B5E4
Deuteranopia (green-blind)
#A3B4E1
Tritanopia (blue-blind)
#B0B6C0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b8aee2; /* rgb */ color: rgb(184, 174, 226); /* oklch */ color: oklch(77.7% 0.074 293.4);
Tailwind
colors: {
custom: {
50: '#cec6eb',
500: '#b8aee2',
950: '#000000',
},
}SCSS
$custom: #b8aee2; $custom-light: #cec6eb; $custom-dark: #000000;
JSON
{
"hex": "#b8aee2",
"rgb": {
"r": 184,
"g": 174,
"b": 226
},
"hsl": {
"h": 251.538,
"s": 47.273,
"l": 78.431
},
"oklch": {
"l": 0.77702,
"c": 0.074,
"h": 293.4
},
"luminance": 0.45953
}Semantic roles & 50–950 ramp
primary
#B8AEE2
secondary
#EBEEDD
accent
#BB2B9F
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#131316
muted
#828284