#BB7FE8#BB7FE8
#BB7FE8 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.160 H 309.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7FE8 |
|---|---|
| RGB | rgb(187, 127, 232) |
| HSL | hsl(274, 70%, 70%) |
| HSV | hsv(274, 45%, 91%) |
| CMYK | cmyk(19.4%, 45.3%, 0%, 9%) |
| CIE-LAB | lab(62.99, 42.32, -44.42) |
| CIE-LCH | lch(62.99, 61.35, 313.61°) |
| OKLab | oklab(69.82% 0.1008 -0.1237) |
| OKLCH | oklch(69.82% 0.16 309.2) |
| XYZ | xyz(42.6456, 31.5703, 80.1754) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.01
Liliac
#C48EFD
ΔE00 4.61
Easter Purple
#C071FE
ΔE00 4.74
Light Urple
#B36FF6
ΔE00 5.15
Pale Purple
#B790D4
ΔE00 6.80
Wisteria
#A87DC2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7FE8 #ACE87F
analogous
#877FE8 #BB7FE8 #E87FE0
triadic
#BB7FE8 #E8BB7F #7FE8BB
tetradic
#BB7FE8 #E8877F #ACE87F #7FE0E8
square
#BB7FE8 #E8877F #ACE87F #7FE0E8
split-complementary
#BB7FE8 #E0E87F #7FE887
monochromatic
#8224C9 #9F4BDF #BB7FE8 #D7B3F1 #F1E5FA
Accessibility & contrast
On white
2.87
#BB7FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#BB7FE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7FE8
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7FE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7FE8 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#B590A9
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #bb7fe8; /* rgb */ color: rgb(187, 127, 232); /* oklch */ color: oklch(69.8% 0.160 309.2);
Tailwind
colors: {
custom: {
50: '#d1a5f0',
500: '#bb7fe8',
950: '#000000',
},
}SCSS
$custom: #bb7fe8; $custom-light: #d1a5f0; $custom-dark: #000000;
JSON
{
"hex": "#bb7fe8",
"rgb": {
"r": 187,
"g": 127,
"b": 232
},
"hsl": {
"h": 274.286,
"s": 69.536,
"l": 70.392
},
"oklch": {
"l": 0.69824,
"c": 0.15962,
"h": 309.2
},
"luminance": 0.3157
}Semantic roles & 50–950 ramp
primary
#BB7FE8
secondary
#DFF0D3
accent
#D21465
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84