#BBABF2#BBABF2
#BBABF2 is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.0% C 0.101 H 294.3°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #BBABF2 |
|---|---|
| RGB | rgb(187, 171, 242) |
| HSL | hsl(254, 73%, 81%) |
| HSV | hsv(254, 29%, 95%) |
| CMYK | cmyk(22.7%, 29.3%, 0%, 5.1%) |
| CIE-LAB | lab(73.61, 20.26, -33.33) |
| CIE-LCH | lch(73.61, 39.00, 301.29°) |
| OKLab | oklab(78.03% 0.0415 -0.092) |
| OKLCH | oklch(78.03% 0.101 294.3) |
| XYZ | xyz(51.0797, 46.1009, 90.1944) |
| Luminance | 0.4610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 3.95
Lavender
#B39DDB
ΔE00 4.80
Lavender (survey)
#C79FEF
ΔE00 5.30
Light Violet
#D6B4FC
ΔE00 5.45
Pastel Purple
#CAA0FF
ΔE00 5.68
Lilac (survey)
#CEA2FD
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBABF2 #E2F2AB
analogous
#ABBEF2 #BBABF2 #DEABF2
triadic
#BBABF2 #F2BBAB #ABF2BB
tetradic
#BBABF2 #F2ABBE #E2F2AB #ABF2DE
square
#BBABF2 #F2ABBE #E2F2AB #ABF2DE
split-complementary
#BBABF2 #F2DEAB #BEF2AB
monochromatic
#6541E2 #9076EA #BBABF2 #E6E0FA #EAE5FB
Accessibility & contrast
On white
2.05
#BBABF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.22
#BBABF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBABF2
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBABF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBABF2 | 1.00 | 2.05 | 10.22 | 10.22 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AB6F5
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#B0B7C4
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #bbabf2; /* rgb */ color: rgb(187, 171, 242); /* oklch */ color: oklch(78.0% 0.101 294.3);
Tailwind
colors: {
custom: {
50: '#d0c4f6',
500: '#bbabf2',
950: '#000000',
},
}SCSS
$custom: #bbabf2; $custom-light: #d0c4f6; $custom-dark: #000000;
JSON
{
"hex": "#bbabf2",
"rgb": {
"r": 187,
"g": 171,
"b": 242
},
"hsl": {
"h": 253.521,
"s": 73.196,
"l": 80.98
},
"oklch": {
"l": 0.78032,
"c": 0.10095,
"h": 294.3
},
"luminance": 0.46101
}Semantic roles & 50–950 ramp
primary
#BBABF2
secondary
#EDF3D8
accent
#D510A9
background
#FCFCFF
surface
#F9F8FE
border
#D2D1D6
text
#141217
muted
#828185