#978CCB#978CCB
#978CCB is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.4% C 0.093 H 291.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #978CCB |
|---|---|
| RGB | rgb(151, 140, 203) |
| HSL | hsl(250, 38%, 67%) |
| HSV | hsv(250, 31%, 80%) |
| CMYK | cmyk(25.6%, 31%, 0%, 20.4%) |
| CIE-LAB | lab(61.35, 17.73, -31.04) |
| CIE-LCH | lch(61.35, 35.75, 299.73°) |
| OKLab | oklab(67.36% 0.0343 -0.086) |
| OKLCH | oklch(67.36% 0.093 291.7) |
| XYZ | xyz(32.9175, 29.6468, 60.4765) |
| Luminance | 0.2965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 6.28
Lavender
#B39DDB
ΔE00 6.66
Pale Purple
#B790D4
ΔE00 7.36
Wisteria
#A87DC2
ΔE00 7.71
Lavender Blue
#8B88F8
ΔE00 9.15
Heather
#A484AC
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978CCB #C0CB8C
analogous
#8CA1CB #978CCB #B78CCB
triadic
#978CCB #CB978C #8CCB97
tetradic
#978CCB #CB8CA1 #C0CB8C #8CCBB7
square
#978CCB #CB8CA1 #C0CB8C #8CCBB7
split-complementary
#978CCB #CBB78C #A1CB8C
monochromatic
#534598 #7162B8 #978CCB #BDB6DE #E3E0F1
Accessibility & contrast
On white
3.03
#978CCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#978CCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978CCB
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978CCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978CCB | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#8C97A3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #978ccb; /* rgb */ color: rgb(151, 140, 203); /* oklch */ color: oklch(67.4% 0.093 291.7);
Tailwind
colors: {
custom: {
50: '#b6addb',
500: '#978ccb',
950: '#000000',
},
}SCSS
$custom: #978ccb; $custom-light: #b6addb; $custom-dark: #000000;
JSON
{
"hex": "#978ccb",
"rgb": {
"r": 151,
"g": 140,
"b": 203
},
"hsl": {
"h": 250.476,
"s": 37.725,
"l": 67.255
},
"oklch": {
"l": 0.67363,
"c": 0.09253,
"h": 291.7
},
"luminance": 0.29647
}Semantic roles & 50–950 ramp
primary
#978CCB
secondary
#E0E3CF
accent
#B1359B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83