#978BB2#978BB2
#978BB2 is a light, muted violet. Relative luminance 0.283; OKLCH L 66.1% C 0.059 H 298.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #978BB2 |
|---|---|
| RGB | rgb(151, 139, 178) |
| HSL | hsl(258, 20%, 62%) |
| HSV | hsv(258, 22%, 70%) |
| CMYK | cmyk(15.2%, 21.9%, 0%, 30.2%) |
| CIE-LAB | lab(60.12, 12.43, -18.81) |
| CIE-LCH | lch(60.12, 22.55, 303.46°) |
| OKLab | oklab(66.1% 0.0283 -0.0513) |
| OKLCH | oklch(66.1% 0.059 298.9) |
| XYZ | xyz(30.0293, 28.2588, 45.9833) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 5.84
Purpley Grey
#947E94
ΔE00 7.97
Dusty Lavender
#AC86A8
ΔE00 7.99
Wisteria
#A87DC2
ΔE00 8.77
Lavender
#B39DDB
ΔE00 8.90
Pale Purple
#B790D4
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978BB2 #A6B28B
analogous
#8B93B2 #978BB2 #AB8BB2
triadic
#978BB2 #B2978B #8BB297
tetradic
#978BB2 #B28B93 #A6B28B #8BB2AB
square
#978BB2 #B28B93 #A6B28B #8BB2AB
split-complementary
#978BB2 #B2AB8B #93B28B
monochromatic
#5A4E75 #76669A #978BB2 #B8B0CA #D9D5E3
Accessibility & contrast
On white
3.16
#978BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#978BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978BB2
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978BB2 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#8591B1
Tritanopia (blue-blind)
#929198
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #978bb2; /* rgb */ color: rgb(151, 139, 178); /* oklch */ color: oklch(66.1% 0.059 298.9);
Tailwind
colors: {
custom: {
50: '#b6acc9',
500: '#978bb2',
950: '#000000',
},
}SCSS
$custom: #978bb2; $custom-light: #b6acc9; $custom-dark: #000000;
JSON
{
"hex": "#978bb2",
"rgb": {
"r": 151,
"g": 139,
"b": 178
},
"hsl": {
"h": 258.462,
"s": 20.207,
"l": 62.157
},
"oklch": {
"l": 0.66096,
"c": 0.05855,
"h": 298.9
},
"luminance": 0.28259
}Semantic roles & 50–950 ramp
primary
#978BB2
secondary
#CFD4C5
accent
#9F4784
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82