#BB7DE2#BB7DE2
#BB7DE2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.156 H 311.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7DE2 |
|---|---|
| RGB | rgb(187, 125, 226) |
| HSL | hsl(277, 64%, 69%) |
| HSV | hsv(277, 45%, 89%) |
| CMYK | cmyk(17.3%, 44.7%, 0%, 11.4%) |
| CIE-LAB | lab(62.27, 42.09, -42.21) |
| CIE-LCH | lch(62.27, 59.61, 314.92°) |
| OKLab | oklab(69.2% 0.1027 -0.1173) |
| OKLCH | oklch(69.2% 0.156 311.2) |
| XYZ | xyz(41.5522, 30.7238, 75.6781) |
| Luminance | 0.3072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.59
Easter Purple
#C071FE
ΔE00 5.24
Light Urple
#B36FF6
ΔE00 5.52
Liliac
#C48EFD
ΔE00 5.57
Wisteria
#A87DC2
ΔE00 6.17
Pale Purple
#B790D4
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7DE2 #A4E27D
analogous
#897DE2 #BB7DE2 #E27DD7
triadic
#BB7DE2 #E2BB7D #7DE2BB
tetradic
#BB7DE2 #E2897D #A4E27D #7DD7E2
square
#BB7DE2 #E2897D #A4E27D #7DD7E2
split-complementary
#BB7DE2 #D7E27D #7DE289
monochromatic
#832ABB #A14BD7 #BB7DE2 #D5AFED #EFE1F8
Accessibility & contrast
On white
2.94
#BB7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#BB7DE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7DE2
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7DE2 | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#B78CA5
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #bb7de2; /* rgb */ color: rgb(187, 125, 226); /* oklch */ color: oklch(69.2% 0.156 311.2);
Tailwind
colors: {
custom: {
50: '#d1a4eb',
500: '#bb7de2',
950: '#000000',
},
}SCSS
$custom: #bb7de2; $custom-light: #d1a4eb; $custom-dark: #000000;
JSON
{
"hex": "#bb7de2",
"rgb": {
"r": 187,
"g": 125,
"b": 226
},
"hsl": {
"h": 276.832,
"s": 63.522,
"l": 68.824
},
"oklch": {
"l": 0.69199,
"c": 0.15592,
"h": 311.2
},
"luminance": 0.30723
}Semantic roles & 50–950 ramp
primary
#BB7DE2
secondary
#DAECCE
accent
#CB1A5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84