#978DC2#978DC2
#978DC2 is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.2% C 0.078 H 292.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #978DC2 |
|---|---|
| RGB | rgb(151, 141, 194) |
| HSL | hsl(251, 30%, 66%) |
| HSV | hsv(251, 27%, 76%) |
| CMYK | cmyk(22.2%, 27.3%, 0%, 23.9%) |
| CIE-LAB | lab(61.24, 14.98, -26.15) |
| CIE-LCH | lch(61.24, 30.13, 299.81°) |
| OKLab | oklab(67.16% 0.0303 -0.072) |
| OKLCH | oklch(67.16% 0.078 292.8) |
| XYZ | xyz(32.0227, 29.5237, 55.0400) |
| Luminance | 0.2952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.73
Pale Purple
#B790D4
ΔE00 7.55
Wisteria
#A87DC2
ΔE00 7.89
Heather
#A484AC
ΔE00 8.15
Perrywinkle
#8F8CE7
ΔE00 8.37
Deep Lilac
#966EBD
ΔE00 10.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978DC2 #B8C28D
analogous
#8D9DC2 #978DC2 #B18DC2
triadic
#978DC2 #C2978D #8DC297
tetradic
#978DC2 #C28D9D #B8C28D #8DC2B1
square
#978DC2 #C28D9D #B8C28D #8DC2B1
split-complementary
#978DC2 #C2B18D #9DC28D
monochromatic
#564A8A #7365AD #978DC2 #BBB5D7 #E0DDED
Accessibility & contrast
On white
3.04
#978DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#978DC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978DC2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978DC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978DC2 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#8193C1
Tritanopia (blue-blind)
#8E96A0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #978dc2; /* rgb */ color: rgb(151, 141, 194); /* oklch */ color: oklch(67.2% 0.078 292.8);
Tailwind
colors: {
custom: {
50: '#b6aed4',
500: '#978dc2',
950: '#000000',
},
}SCSS
$custom: #978dc2; $custom-light: #b6aed4; $custom-dark: #000000;
JSON
{
"hex": "#978dc2",
"rgb": {
"r": 151,
"g": 141,
"b": 194
},
"hsl": {
"h": 251.321,
"s": 30.286,
"l": 65.686
},
"oklch": {
"l": 0.6716,
"c": 0.07811,
"h": 292.8
},
"luminance": 0.29524
}Semantic roles & 50–950 ramp
primary
#978DC2
secondary
#DBDECD
accent
#A93D95
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83