#BB7FE4#BB7FE4
#BB7FE4 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.155 H 310.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7FE4 |
|---|---|
| RGB | rgb(187, 127, 228) |
| HSL | hsl(276, 65%, 70%) |
| HSV | hsv(276, 44%, 89%) |
| CMYK | cmyk(18%, 44.3%, 0%, 10.6%) |
| CIE-LAB | lab(62.80, 41.44, -42.49) |
| CIE-LCH | lch(62.80, 59.36, 314.28°) |
| OKLab | oklab(69.62% 0.1002 -0.1182) |
| OKLCH | oklch(69.62% 0.155 310.3) |
| XYZ | xyz(42.0839, 31.3456, 77.2171) |
| Luminance | 0.3135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.57
Liliac
#C48EFD
ΔE00 5.02
Easter Purple
#C071FE
ΔE00 5.28
Light Urple
#B36FF6
ΔE00 5.63
Pale Purple
#B790D4
ΔE00 6.35
Wisteria
#A87DC2
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7FE4 #A8E47F
analogous
#897FE4 #BB7FE4 #E47FDA
triadic
#BB7FE4 #E4BB7F #7FE4BB
tetradic
#BB7FE4 #E4897F #A8E47F #7FDAE4
square
#BB7FE4 #E4897F #A8E47F #7FDAE4
split-complementary
#BB7FE4 #DAE47F #7FE489
monochromatic
#8329C0 #A04CD9 #BB7FE4 #D6B2EF #F1E4F9
Accessibility & contrast
On white
2.89
#BB7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#BB7FE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7FE4
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7FE4 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6995E8
Deuteranopia (green-blind)
#7899E1
Tritanopia (blue-blind)
#B68FA7
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #bb7fe4; /* rgb */ color: rgb(187, 127, 228); /* oklch */ color: oklch(69.6% 0.155 310.3);
Tailwind
colors: {
custom: {
50: '#d1a5ed',
500: '#bb7fe4',
950: '#000000',
},
}SCSS
$custom: #bb7fe4; $custom-light: #d1a5ed; $custom-dark: #000000;
JSON
{
"hex": "#bb7fe4",
"rgb": {
"r": 187,
"g": 127,
"b": 228
},
"hsl": {
"h": 275.644,
"s": 65.161,
"l": 69.608
},
"oklch": {
"l": 0.69623,
"c": 0.15495,
"h": 310.3
},
"luminance": 0.31345
}Semantic roles & 50–950 ramp
primary
#BB7FE4
secondary
#DDEED1
accent
#CD1962
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84