#978BB3#978BB3
#978BB3 is a light, muted violet. Relative luminance 0.283; OKLCH L 66.1% C 0.060 H 298.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #978BB3 |
|---|---|
| RGB | rgb(151, 139, 179) |
| HSL | hsl(258, 21%, 62%) |
| HSV | hsv(258, 22%, 70%) |
| CMYK | cmyk(15.6%, 22.3%, 0%, 29.8%) |
| CIE-LAB | lab(60.16, 12.66, -19.32) |
| CIE-LCH | lch(60.16, 23.10, 303.23°) |
| OKLab | oklab(66.14% 0.0286 -0.0527) |
| OKLCH | oklch(66.14% 0.06 298.5) |
| XYZ | xyz(30.1301, 28.2991, 46.5140) |
| Luminance | 0.2830 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 5.88
Dusty Lavender
#AC86A8
ΔE00 8.10
Purpley Grey
#947E94
ΔE00 8.20
Wisteria
#A87DC2
ΔE00 8.59
Lavender
#B39DDB
ΔE00 8.71
Pale Purple
#B790D4
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978BB3 #A7B38B
analogous
#8B93B3 #978BB3 #AB8BB3
triadic
#978BB3 #B3978B #8BB397
tetradic
#978BB3 #B38B93 #A7B38B #8BB3AB
square
#978BB3 #B38B93 #A7B38B #8BB3AB
split-complementary
#978BB3 #B3AB8B #93B38B
monochromatic
#5A4D76 #76669B #978BB3 #B8B0CB #D9D5E3
Accessibility & contrast
On white
3.15
#978BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#978BB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978BB3
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978BB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978BB3 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8391B5
Deuteranopia (green-blind)
#8591B2
Tritanopia (blue-blind)
#929199
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #978bb3; /* rgb */ color: rgb(151, 139, 179); /* oklch */ color: oklch(66.1% 0.060 298.5);
Tailwind
colors: {
custom: {
50: '#b6acc9',
500: '#978bb3',
950: '#000000',
},
}SCSS
$custom: #978bb3; $custom-light: #b6acc9; $custom-dark: #000000;
JSON
{
"hex": "#978bb3",
"rgb": {
"r": 151,
"g": 139,
"b": 179
},
"hsl": {
"h": 258,
"s": 20.833,
"l": 62.353
},
"oklch": {
"l": 0.66136,
"c": 0.05997,
"h": 298.5
},
"luminance": 0.28299
}Semantic roles & 50–950 ramp
primary
#978BB3
secondary
#D0D4C6
accent
#9F4685
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82