#B976F8#B976F8
#B976F8 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.1% C 0.192 H 305.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B976F8 |
|---|---|
| RGB | rgb(185, 118, 248) |
| HSL | hsl(271, 90%, 72%) |
| HSV | hsv(271, 52%, 97%) |
| CMYK | cmyk(25.4%, 52.4%, 0%, 2.7%) |
| CIE-LAB | lab(61.70, 50.20, -55.32) |
| CIE-LCH | lch(61.70, 74.71, 312.22°) |
| OKLab | oklab(69.08% 0.1121 -0.1555) |
| OKLCH | oklch(69.08% 0.192 305.8) |
| XYZ | xyz(43.4257, 30.0488, 92.3010) |
| Luminance | 0.3005 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.31
Easter Purple
#C071FE
ΔE00 1.64
Light Urple
#B36FF6
ΔE00 2.01
Bright Lavender
#C760FF
ΔE00 4.74
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B976F8 #B5F876
analogous
#7876F8 #B976F8 #F876F6
triadic
#B976F8 #F8B976 #76F8B9
tetradic
#B976F8 #F87876 #B5F876 #76F6F8
square
#B976F8 #F87876 #B5F876 #76F6F8
split-complementary
#B976F8 #F6F876 #76F878
monochromatic
#7D0CE8 #9B3CF5 #B976F8 #D7B0FB #F0E2FE
Accessibility & contrast
On white
3.00
#B976F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#B976F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B976F8
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B976F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B976F8 | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#AF8EAC
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b976f8; /* rgb */ color: rgb(185, 118, 248); /* oklch */ color: oklch(69.1% 0.192 305.8);
Tailwind
colors: {
custom: {
50: '#d19ffb',
500: '#b976f8',
950: '#000000',
},
}SCSS
$custom: #b976f8; $custom-light: #d19ffb; $custom-dark: #000000;
JSON
{
"hex": "#b976f8",
"rgb": {
"r": 185,
"g": 118,
"b": 248
},
"hsl": {
"h": 270.923,
"s": 90.278,
"l": 71.765
},
"oklch": {
"l": 0.6908,
"c": 0.1917,
"h": 305.8
},
"luminance": 0.30048
}Semantic roles & 50–950 ramp
primary
#B976F8
secondary
#E4F5D4
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85