#BB7FE2#BB7FE2
#BB7FE2 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.5% C 0.153 H 310.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7FE2 |
|---|---|
| RGB | rgb(187, 127, 226) |
| HSL | hsl(276, 63%, 69%) |
| HSV | hsv(276, 44%, 89%) |
| CMYK | cmyk(17.3%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(62.71, 41.01, -41.53) |
| CIE-LCH | lch(62.71, 58.36, 314.64°) |
| OKLab | oklab(69.52% 0.0999 -0.1154) |
| OKLCH | oklch(69.52% 0.153 310.9) |
| XYZ | xyz(41.8079, 31.2352, 75.7633) |
| Luminance | 0.3124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.88
Liliac
#C48EFD
ΔE00 5.25
Easter Purple
#C071FE
ΔE00 5.57
Light Urple
#B36FF6
ΔE00 5.89
Wisteria
#A87DC2
ΔE00 6.09
Pale Purple
#B790D4
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7FE2 #A6E27F
analogous
#8A7FE2 #BB7FE2 #E27FD7
triadic
#BB7FE2 #E2BB7F #7FE2BB
tetradic
#BB7FE2 #E28A7F #A6E27F #7FD7E2
square
#BB7FE2 #E28A7F #A6E27F #7FD7E2
split-complementary
#BB7FE2 #D7E27F #7FE28A
monochromatic
#832BBC #A04DD7 #BB7FE2 #D6B1ED #F0E3F9
Accessibility & contrast
On white
2.90
#BB7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#BB7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7FE2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7FE2 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#7999DF
Tritanopia (blue-blind)
#B78EA6
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #bb7fe2; /* rgb */ color: rgb(187, 127, 226); /* oklch */ color: oklch(69.5% 0.153 310.9);
Tailwind
colors: {
custom: {
50: '#d1a5eb',
500: '#bb7fe2',
950: '#000000',
},
}SCSS
$custom: #bb7fe2; $custom-light: #d1a5eb; $custom-dark: #000000;
JSON
{
"hex": "#bb7fe2",
"rgb": {
"r": 187,
"g": 127,
"b": 226
},
"hsl": {
"h": 276.364,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.69523,
"c": 0.15261,
"h": 310.9
},
"luminance": 0.31235
}Semantic roles & 50–950 ramp
primary
#BB7FE2
secondary
#DBEDD0
accent
#CB1B60
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84