#978BB7#978BB7
#978BB7 is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.3% C 0.066 H 297.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #978BB7 |
|---|---|
| RGB | rgb(151, 139, 183) |
| HSL | hsl(256, 23%, 63%) |
| HSV | hsv(256, 24%, 72%) |
| CMYK | cmyk(17.5%, 24%, 0%, 28.2%) |
| CIE-LAB | lab(60.30, 13.56, -21.37) |
| CIE-LCH | lch(60.30, 25.31, 302.41°) |
| OKLab | oklab(66.3% 0.0299 -0.0585) |
| OKLCH | oklch(66.3% 0.066 297.1) |
| XYZ | xyz(30.5405, 28.4633, 48.6755) |
| Luminance | 0.2846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 6.22
Wisteria
#A87DC2
ΔE00 8.00
Lavender
#B39DDB
ΔE00 8.03
Pale Purple
#B790D4
ΔE00 8.29
Dusty Lavender
#AC86A8
ΔE00 8.60
Purpley Grey
#947E94
ΔE00 9.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978BB7 #ABB78B
analogous
#8B95B7 #978BB7 #AD8BB7
triadic
#978BB7 #B7978B #8BB797
tetradic
#978BB7 #B78B95 #ABB78B #8BB7AD
square
#978BB7 #B78B95 #ABB78B #8BB7AD
split-complementary
#978BB7 #B7AD8B #95B78B
monochromatic
#594C7B #7565A0 #978BB7 #B9B1CE #DBD7E6
Accessibility & contrast
On white
3.14
#978BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#978BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978BB7
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978BB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978BB7 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8292B9
Deuteranopia (green-blind)
#8391B6
Tritanopia (blue-blind)
#91929A
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #978bb7; /* rgb */ color: rgb(151, 139, 183); /* oklch */ color: oklch(66.3% 0.066 297.1);
Tailwind
colors: {
custom: {
50: '#b6accc',
500: '#978bb7',
950: '#000000',
},
}SCSS
$custom: #978bb7; $custom-light: #b6accc; $custom-dark: #000000;
JSON
{
"hex": "#978bb7",
"rgb": {
"r": 151,
"g": 139,
"b": 183
},
"hsl": {
"h": 256.364,
"s": 23.404,
"l": 63.137
},
"oklch": {
"l": 0.66299,
"c": 0.06566,
"h": 297.1
},
"luminance": 0.28463
}Semantic roles & 50–950 ramp
primary
#978BB7
secondary
#D2D7C7
accent
#A24488
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82