#BB9CF2#BB9CF2
#BB9CF2 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.3% C 0.125 H 300.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BB9CF2 |
|---|---|
| RGB | rgb(187, 156, 242) |
| HSL | hsl(262, 77%, 78%) |
| HSV | hsv(262, 36%, 95%) |
| CMYK | cmyk(22.7%, 35.5%, 0%, 5.1%) |
| CIE-LAB | lab(70.00, 28.59, -38.93) |
| CIE-LCH | lch(70.00, 48.30, 306.29°) |
| OKLab | oklab(75.27% 0.0624 -0.108) |
| OKLCH | oklch(75.27% 0.125 300) |
| XYZ | xyz(48.4055, 40.7523, 89.3030) |
| Luminance | 0.4075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 2.98
Lavender (survey)
#C79FEF
ΔE00 3.04
Baby Purple
#CA9BF7
ΔE00 3.17
Lilac (survey)
#CEA2FD
ΔE00 3.62
Lavender
#B39DDB
ΔE00 4.67
Liliac
#C48EFD
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB9CF2 #D3F29C
analogous
#9CA8F2 #BB9CF2 #E69CF2
triadic
#BB9CF2 #F2BB9C #9CF2BB
tetradic
#BB9CF2 #F29CA8 #D3F29C #9CF2E6
square
#BB9CF2 #F29CA8 #D3F29C #9CF2E6
split-complementary
#BB9CF2 #F2E69C #A8F29C
monochromatic
#7130E4 #9666EB #BB9CF2 #E0D2F9 #ECE4FB
Accessibility & contrast
On white
2.29
#BB9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#BB9CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB9CF2
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB9CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB9CF2 | 1.00 | 2.29 | 9.15 | 9.15 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#B1AABC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #bb9cf2; /* rgb */ color: rgb(187, 156, 242); /* oklch */ color: oklch(75.3% 0.125 300.0);
Tailwind
colors: {
custom: {
50: '#d1b9f6',
500: '#bb9cf2',
950: '#000000',
},
}SCSS
$custom: #bb9cf2; $custom-light: #d1b9f6; $custom-dark: #000000;
JSON
{
"hex": "#bb9cf2",
"rgb": {
"r": 187,
"g": 156,
"b": 242
},
"hsl": {
"h": 261.628,
"s": 76.786,
"l": 78.039
},
"oklch": {
"l": 0.75269,
"c": 0.12472,
"h": 300
},
"luminance": 0.40753
}Semantic roles & 50–950 ramp
primary
#BB9CF2
secondary
#E9F3D8
accent
#D90C8F
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085