#BB7EF2#BB7EF2
#BB7EF2 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.173 H 306.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7EF2 |
|---|---|
| RGB | rgb(187, 126, 242) |
| HSL | hsl(272, 82%, 72%) |
| HSV | hsv(272, 48%, 95%) |
| CMYK | cmyk(22.7%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.26, 45.09, -49.52) |
| CIE-LCH | lch(63.26, 66.98, 312.32°) |
| OKLab | oklab(70.19% 0.1035 -0.1386) |
| OKLCH | oklch(70.19% 0.173 306.8) |
| XYZ | xyz(43.9781, 31.8977, 87.8272) |
| Luminance | 0.3190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.86
Easter Purple
#C071FE
ΔE00 3.47
Light Urple
#B36FF6
ΔE00 4.10
Liliac
#C48EFD
ΔE00 4.18
Bright Lavender
#C760FF
ΔE00 6.55
Bright Lilac
#C95EFB
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7EF2 #B5F27E
analogous
#817EF2 #BB7EF2 #F27EEF
triadic
#BB7EF2 #F2BB7E #7EF2BB
tetradic
#BB7EF2 #F2817E #B5F27E #7EEFF2
square
#BB7EF2 #F2817E #B5F27E #7EEFF2
split-complementary
#BB7EF2 #EFF27E #7EF281
monochromatic
#8016DF #9E46EC #BB7EF2 #D8B6F8 #F0E3FC
Accessibility & contrast
On white
2.85
#BB7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#BB7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7EF2
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7EF2 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#6F9AEF
Tritanopia (blue-blind)
#B392AD
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #bb7ef2; /* rgb */ color: rgb(187, 126, 242); /* oklch */ color: oklch(70.2% 0.173 306.8);
Tailwind
colors: {
custom: {
50: '#d2a5f7',
500: '#bb7ef2',
950: '#000000',
},
}SCSS
$custom: #bb7ef2; $custom-light: #d2a5f7; $custom-dark: #000000;
JSON
{
"hex": "#bb7ef2",
"rgb": {
"r": 187,
"g": 126,
"b": 242
},
"hsl": {
"h": 271.552,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.70186,
"c": 0.17294,
"h": 306.8
},
"luminance": 0.31897
}Semantic roles & 50–950 ramp
primary
#BB7EF2
secondary
#E5F4D7
accent
#DE076D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85