#BB7AF2#BB7AF2
#BB7AF2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.179 H 307.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7AF2 |
|---|---|
| RGB | rgb(187, 122, 242) |
| HSL | hsl(273, 82%, 71%) |
| HSV | hsv(273, 50%, 95%) |
| CMYK | cmyk(22.7%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.42, 47.24, -50.85) |
| CIE-LCH | lch(62.42, 69.41, 312.89°) |
| OKLab | oklab(69.56% 0.1088 -0.1424) |
| OKLCH | oklch(69.56% 0.179 307.4) |
| XYZ | xyz(43.4769, 30.8951, 87.6602) |
| Luminance | 0.3090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.06
Easter Purple
#C071FE
ΔE00 2.66
Light Urple
#B36FF6
ΔE00 3.25
Liliac
#C48EFD
ΔE00 5.08
Bright Lavender
#C760FF
ΔE00 5.64
Bright Lilac
#C95EFB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7AF2 #B1F27A
analogous
#7F7AF2 #BB7AF2 #F27AED
triadic
#BB7AF2 #F2BB7A #7AF2BB
tetradic
#BB7AF2 #F27F7A #B1F27A #7AEDF2
square
#BB7AF2 #F27F7A #B1F27A #7AEDF2
split-complementary
#BB7AF2 #EDF27A #7AF27F
monochromatic
#8116DC #9E42ED #BB7AF2 #D8B2F7 #F1E3FC
Accessibility & contrast
On white
2.93
#BB7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#BB7AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7AF2
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7AF2 | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#B38FAB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #bb7af2; /* rgb */ color: rgb(187, 122, 242); /* oklch */ color: oklch(69.6% 0.179 307.4);
Tailwind
colors: {
custom: {
50: '#d2a2f7',
500: '#bb7af2',
950: '#000000',
},
}SCSS
$custom: #bb7af2; $custom-light: #d2a2f7; $custom-dark: #000000;
JSON
{
"hex": "#bb7af2",
"rgb": {
"r": 187,
"g": 122,
"b": 242
},
"hsl": {
"h": 272.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.69562,
"c": 0.17923,
"h": 307.4
},
"luminance": 0.30895
}Semantic roles & 50–950 ramp
primary
#BB7AF2
secondary
#E3F3D4
accent
#DF076A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85