#B978FC#B978FC
#B978FC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.193 H 304.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B978FC |
|---|---|
| RGB | rgb(185, 120, 252) |
| HSL | hsl(270, 96%, 73%) |
| HSV | hsv(270, 52%, 99%) |
| CMYK | cmyk(26.6%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(62.32, 50.06, -56.54) |
| CIE-LCH | lch(62.32, 75.52, 311.52°) |
| OKLab | oklab(69.61% 0.1098 -0.1591) |
| OKLCH | oklch(69.61% 0.193 304.6) |
| XYZ | xyz(44.2909, 30.7757, 95.6836) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.69
Easter Purple
#C071FE
ΔE00 1.91
Light Urple
#B36FF6
ΔE00 2.48
Bright Lavender
#C760FF
ΔE00 5.16
Liliac
#C48EFD
ΔE00 5.63
Bright Lilac
#C95EFB
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B978FC #BBFC78
analogous
#7879FC #B978FC #FB78FC
triadic
#B978FC #FCB978 #78FCB9
tetradic
#B978FC #FC7879 #BBFC78 #78FCFB
square
#B978FC #FC7879 #BBFC78 #78FCFB
split-complementary
#B978FC #FCFB78 #79FC78
monochromatic
#7B05F4 #9A3CFB #B978FC #D8B4FD #EFE1FE
Accessibility & contrast
On white
2.93
#B978FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#B978FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B978FC
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B978FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B978FC | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#AE90AF
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b978fc; /* rgb */ color: rgb(185, 120, 252); /* oklch */ color: oklch(69.6% 0.193 304.6);
Tailwind
colors: {
custom: {
50: '#d1a1fe',
500: '#b978fc',
950: '#000000',
},
}SCSS
$custom: #b978fc; $custom-light: #d1a1fe; $custom-dark: #000000;
JSON
{
"hex": "#b978fc",
"rgb": {
"r": 185,
"g": 120,
"b": 252
},
"hsl": {
"h": 269.545,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.69608,
"c": 0.19327,
"h": 304.6
},
"luminance": 0.30776
}Semantic roles & 50–950 ramp
primary
#B978FC
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86