#BB7DF6#BB7DF6
#BB7DF6 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.179 H 306.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #BB7DF6 |
|---|---|
| RGB | rgb(187, 125, 246) |
| HSL | hsl(271, 87%, 73%) |
| HSV | hsv(271, 49%, 96%) |
| CMYK | cmyk(24%, 49.2%, 0%, 3.5%) |
| CIE-LAB | lab(63.25, 46.54, -51.74) |
| CIE-LCH | lch(63.25, 69.59, 311.97°) |
| OKLab | oklab(70.24% 0.1052 -0.145) |
| OKLCH | oklch(70.24% 0.179 306) |
| XYZ | xyz(44.4582, 31.8862, 90.9834) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.59
Easter Purple
#C071FE
ΔE00 2.98
Light Urple
#B36FF6
ΔE00 3.71
Liliac
#C48EFD
ΔE00 4.33
Bright Lavender
#C760FF
ΔE00 6.20
Bright Lilac
#C95EFB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB7DF6 #B8F67D
analogous
#7F7DF6 #BB7DF6 #F67DF4
triadic
#BB7DF6 #F6BB7D #7DF6BB
tetradic
#BB7DF6 #F67F7D #B8F67D #7DF4F6
square
#BB7DF6 #F67F7D #B8F67D #7DF4F6
split-complementary
#BB7DF6 #F4F67D #7DF67F
monochromatic
#7F10E9 #9D44F2 #BB7DF6 #D9B6FA #F0E2FD
Accessibility & contrast
On white
2.85
#BB7DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#BB7DF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BB7DF6
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB7DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BB7DF6 | 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)
#5A97FA
Deuteranopia (green-blind)
#6C99F3
Tritanopia (blue-blind)
#B292AE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #bb7df6; /* rgb */ color: rgb(187, 125, 246); /* oklch */ color: oklch(70.2% 0.179 306.0);
Tailwind
colors: {
custom: {
50: '#d2a4fa',
500: '#bb7df6',
950: '#000000',
},
}SCSS
$custom: #bb7df6; $custom-light: #d2a4fa; $custom-dark: #000000;
JSON
{
"hex": "#bb7df6",
"rgb": {
"r": 187,
"g": 125,
"b": 246
},
"hsl": {
"h": 270.744,
"s": 87.05,
"l": 72.745
},
"oklch": {
"l": 0.70244,
"c": 0.17919,
"h": 306
},
"luminance": 0.31886
}Semantic roles & 50–950 ramp
primary
#BB7DF6
secondary
#E5F5D6
accent
#E40270
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85