#978DC4#978DC4
#978DC4 is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.2% C 0.081 H 292.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #978DC4 |
|---|---|
| RGB | rgb(151, 141, 196) |
| HSL | hsl(251, 32%, 66%) |
| HSV | hsv(251, 28%, 77%) |
| CMYK | cmyk(23%, 28.1%, 0%, 23.1%) |
| CIE-LAB | lab(61.32, 15.46, -27.15) |
| CIE-LCH | lch(61.32, 31.24, 299.66°) |
| OKLab | oklab(67.25% 0.0309 -0.0748) |
| OKLCH | oklch(67.25% 0.081 292.4) |
| XYZ | xyz(32.2488, 29.6142, 56.2309) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.62
Pale Purple
#B790D4
ΔE00 7.47
Wisteria
#A87DC2
ΔE00 7.85
Perrywinkle
#8F8CE7
ΔE00 7.90
Heather
#A484AC
ΔE00 8.49
Deep Lilac
#966EBD
ΔE00 10.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978DC4 #BAC48D
analogous
#8D9EC4 #978DC4 #B28DC4
triadic
#978DC4 #C4978D #8DC497
tetradic
#978DC4 #C48D9E #BAC48D #8DC4B2
square
#978DC4 #C48D9E #BAC48D #8DC4B2
split-complementary
#978DC4 #C4B28D #9EC48D
monochromatic
#56498D #7265AF #978DC4 #BCB5D9 #E1DEEE
Accessibility & contrast
On white
3.03
#978DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#978DC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978DC4
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978DC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978DC4 | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#8093C3
Tritanopia (blue-blind)
#8E96A0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #978dc4; /* rgb */ color: rgb(151, 141, 196); /* oklch */ color: oklch(67.2% 0.081 292.4);
Tailwind
colors: {
custom: {
50: '#b6aed6',
500: '#978dc4',
950: '#000000',
},
}SCSS
$custom: #978dc4; $custom-light: #b6aed6; $custom-dark: #000000;
JSON
{
"hex": "#978dc4",
"rgb": {
"r": 151,
"g": 141,
"b": 196
},
"hsl": {
"h": 250.909,
"s": 31.792,
"l": 66.078
},
"oklch": {
"l": 0.67247,
"c": 0.08097,
"h": 292.4
},
"luminance": 0.29615
}Semantic roles & 50–950 ramp
primary
#978DC4
secondary
#DCDFCD
accent
#AB3B96
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83