#B978DF#B978DF
#B978DF is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.160 H 311.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B978DF |
|---|---|
| RGB | rgb(185, 120, 223) |
| HSL | hsl(278, 62%, 67%) |
| HSV | hsv(278, 46%, 87%) |
| CMYK | cmyk(17%, 46.2%, 0%, 12.5%) |
| CIE-LAB | lab(60.85, 43.58, -42.79) |
| CIE-LCH | lch(60.85, 61.07, 315.52°) |
| OKLab | oklab(68.04% 0.1068 -0.119) |
| OKLCH | oklch(68.04% 0.16 311.9) |
| XYZ | xyz(40.0410, 29.0757, 73.3006) |
| Luminance | 0.2908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Light Urple
#B36FF6
ΔE00 4.96
Easter Purple
#C071FE
ΔE00 5.02
Wisteria
#A87DC2
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.75
Liliac
#C48EFD
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B978DF #9EDF78
analogous
#8678DF #B978DF #DF78D2
triadic
#B978DF #DFB978 #78DFB9
tetradic
#B978DF #DF8678 #9EDF78 #78D2DF
square
#B978DF #DF8678 #9EDF78 #78D2DF
split-complementary
#B978DF #D2DF78 #78DF86
monochromatic
#802AB2 #9F47D3 #B978DF #D3A9EB #ECDBF6
Accessibility & contrast
On white
3.08
#B978DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B978DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B978DF
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B978DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B978DF | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#618FE3
Deuteranopia (green-blind)
#7394DC
Tritanopia (blue-blind)
#B588A1
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b978df; /* rgb */ color: rgb(185, 120, 223); /* oklch */ color: oklch(68.0% 0.160 311.9);
Tailwind
colors: {
custom: {
50: '#d0a0e9',
500: '#b978df',
950: '#000000',
},
}SCSS
$custom: #b978df; $custom-light: #d0a0e9; $custom-dark: #000000;
JSON
{
"hex": "#b978df",
"rgb": {
"r": 185,
"g": 120,
"b": 223
},
"hsl": {
"h": 277.864,
"s": 61.677,
"l": 67.255
},
"oklch": {
"l": 0.6804,
"c": 0.15995,
"h": 311.9
},
"luminance": 0.29075
}Semantic roles & 50–950 ramp
primary
#B978DF
secondary
#D5EAC9
accent
#C91C5C
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F16
muted
#827F84