#978CC2#978CC2
#978CC2 is a light, moderate violet. Relative luminance 0.292; OKLCH L 67.0% C 0.080 H 293.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #978CC2 |
|---|---|
| RGB | rgb(151, 140, 194) |
| HSL | hsl(252, 31%, 65%) |
| HSV | hsv(252, 28%, 76%) |
| CMYK | cmyk(22.2%, 27.8%, 0%, 23.9%) |
| CIE-LAB | lab(60.98, 15.56, -26.54) |
| CIE-LCH | lch(60.98, 30.76, 300.38°) |
| OKLab | oklab(66.96% 0.0318 -0.0731) |
| OKLCH | oklch(66.96% 0.08 293.5) |
| XYZ | xyz(31.8759, 29.2302, 54.9911) |
| Luminance | 0.2923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.81
Pale Purple
#B790D4
ΔE00 7.41
Wisteria
#A87DC2
ΔE00 7.56
Heather
#A484AC
ΔE00 8.03
Perrywinkle
#8F8CE7
ΔE00 8.32
Deep Lilac
#966EBD
ΔE00 10.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978CC2 #B7C28C
analogous
#8C9CC2 #978CC2 #B28CC2
triadic
#978CC2 #C2978C #8CC297
tetradic
#978CC2 #C28C9C #B7C28C #8CC2B2
square
#978CC2 #C28C9C #B7C28C #8CC2B2
split-complementary
#978CC2 #C2B28C #9CC28C
monochromatic
#57498A #7364AD #978CC2 #BBB4D7 #DFDCEC
Accessibility & contrast
On white
3.07
#978CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#978CC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978CC2
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978CC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978CC2 | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F94C4
Deuteranopia (green-blind)
#8092C1
Tritanopia (blue-blind)
#8E959F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #978cc2; /* rgb */ color: rgb(151, 140, 194); /* oklch */ color: oklch(67.0% 0.080 293.5);
Tailwind
colors: {
custom: {
50: '#b6add4',
500: '#978cc2',
950: '#000000',
},
}SCSS
$custom: #978cc2; $custom-light: #b6add4; $custom-dark: #000000;
JSON
{
"hex": "#978cc2",
"rgb": {
"r": 151,
"g": 140,
"b": 194
},
"hsl": {
"h": 252.222,
"s": 30.682,
"l": 65.49
},
"oklch": {
"l": 0.66962,
"c": 0.07971,
"h": 293.5
},
"luminance": 0.29231
}Semantic roles & 50–950 ramp
primary
#978CC2
secondary
#DADECC
accent
#A93C93
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83