#BB7AF6#BB7AF6
#BB7AF6 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.184 H 306.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7AF6 |
|---|---|
| RGB | rgb(187, 122, 246) |
| HSL | hsl(271, 87%, 72%) |
| HSV | hsv(271, 50%, 96%) |
| CMYK | cmyk(24%, 50.4%, 0%, 3.5%) |
| CIE-LAB | lab(62.62, 48.14, -52.73) |
| CIE-LCH | lch(62.62, 71.40, 312.39°) |
| OKLab | oklab(69.78% 0.1092 -0.1479) |
| OKLCH | oklch(69.78% 0.184 306.4) |
| XYZ | xyz(44.0842, 31.1381, 90.8588) |
| Luminance | 0.3114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.01
Easter Purple
#C071FE
ΔE00 2.34
Light Urple
#B36FF6
ΔE00 3.07
Liliac
#C48EFD
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 5.51
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7AF6 #B5F67A
analogous
#7D7AF6 #BB7AF6 #F67AF3
triadic
#BB7AF6 #F6BB7A #7AF6BB
tetradic
#BB7AF6 #F67D7A #B5F67A #7AF3F6
square
#BB7AF6 #F67D7A #B5F67A #7AF3F6
split-complementary
#BB7AF6 #F3F67A #7AF67D
monochromatic
#8010E6 #9E41F2 #BB7AF6 #D8B3FA #F0E2FD
Accessibility & contrast
On white
2.91
#BB7AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#BB7AF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7AF6
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7AF6 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#B290AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #bb7af6; /* rgb */ color: rgb(187, 122, 246); /* oklch */ color: oklch(69.8% 0.184 306.4);
Tailwind
colors: {
custom: {
50: '#d2a2fa',
500: '#bb7af6',
950: '#000000',
},
}SCSS
$custom: #bb7af6; $custom-light: #d2a2fa; $custom-dark: #000000;
JSON
{
"hex": "#bb7af6",
"rgb": {
"r": 187,
"g": 122,
"b": 246
},
"hsl": {
"h": 271.452,
"s": 87.324,
"l": 72.157
},
"oklch": {
"l": 0.6978,
"c": 0.18384,
"h": 306.4
},
"luminance": 0.31138
}Semantic roles & 50–950 ramp
primary
#BB7AF6
secondary
#E5F5D6
accent
#E4026D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85