#B978F9#B978F9
#B978F9 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.190 H 305.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B978F9 |
|---|---|
| RGB | rgb(185, 120, 249) |
| HSL | hsl(270, 91%, 72%) |
| HSV | hsv(270, 52%, 98%) |
| CMYK | cmyk(25.7%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(62.16, 49.37, -55.14) |
| CIE-LCH | lch(62.16, 74.02, 311.84°) |
| OKLab | oklab(69.44% 0.1096 -0.155) |
| OKLCH | oklch(69.44% 0.19 305.3) |
| XYZ | xyz(43.8193, 30.5871, 93.1996) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.37
Easter Purple
#C071FE
ΔE00 1.93
Light Urple
#B36FF6
ΔE00 2.42
Bright Lavender
#C760FF
ΔE00 5.15
Liliac
#C48EFD
ΔE00 5.59
Bright Lilac
#C95EFB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B978F9 #B8F978
analogous
#7978F9 #B978F9 #F978F8
triadic
#B978F9 #F9B978 #78F9B9
tetradic
#B978F9 #F97978 #B8F978 #78F8F9
square
#B978F9 #F97978 #B8F978 #78F8F9
split-complementary
#B978F9 #F8F978 #78F979
monochromatic
#7C0AEC #9B3DF6 #B978F9 #D7B3FC #F0E2FE
Accessibility & contrast
On white
2.95
#B978F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#B978F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B978F9
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B978F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B978F9 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#6396F6
Tritanopia (blue-blind)
#AE8FAD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b978f9; /* rgb */ color: rgb(185, 120, 249); /* oklch */ color: oklch(69.4% 0.190 305.3);
Tailwind
colors: {
custom: {
50: '#d1a1fc',
500: '#b978f9',
950: '#000000',
},
}SCSS
$custom: #b978f9; $custom-light: #d1a1fc; $custom-dark: #000000;
JSON
{
"hex": "#b978f9",
"rgb": {
"r": 185,
"g": 120,
"b": 249
},
"hsl": {
"h": 270.233,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.69438,
"c": 0.18982,
"h": 305.3
},
"luminance": 0.30587
}Semantic roles & 50–950 ramp
primary
#B978F9
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85