#974DC0#974DC0
#974DC0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.181 H 311.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #974DC0 |
|---|---|
| RGB | rgb(151, 77, 192) |
| HSL | hsl(279, 48%, 53%) |
| HSV | hsv(279, 60%, 75%) |
| CMYK | cmyk(21.4%, 59.9%, 0%, 24.7%) |
| CIE-LAB | lab(46.57, 50.36, -48.02) |
| CIE-LCH | lch(46.57, 69.59, 316.36°) |
| OKLab | oklab(56.09% 0.12 -0.135) |
| OKLCH | oklch(56.09% 0.181 311.6) |
| XYZ | xyz(24.9291, 15.6934, 51.5749) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.89
Deep Lavender
#8D5EB7
ΔE00 4.88
Amethyst
#9B5FC0
ΔE00 4.89
Darkorchid
#9932CC
ΔE00 5.16
Medium Purple
#9E43A2
ΔE00 6.38
Lightish Purple
#A552E6
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974DC0 #76C04D
analogous
#5E4DC0 #974DC0 #C04DAF
triadic
#974DC0 #C0974D #4DC097
tetradic
#974DC0 #C05E4D #76C04D #4DAFC0
square
#974DC0 #C05E4D #76C04D #4DAFC0
split-complementary
#974DC0 #AFC04D #4DC05E
monochromatic
#53266C #763699 #974DC0 #B17AD0 #CCA7E0
Accessibility & contrast
On white
5.07
#974DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#974DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974DC0
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974DC0 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246BC4
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#92627F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #974dc0; /* rgb */ color: rgb(151, 77, 192); /* oklch */ color: oklch(56.1% 0.181 311.6);
Tailwind
colors: {
custom: {
50: '#b983d3',
500: '#974dc0',
950: '#000000',
},
}SCSS
$custom: #974dc0; $custom-light: #b983d3; $custom-dark: #000000;
JSON
{
"hex": "#974dc0",
"rgb": {
"r": 151,
"g": 77,
"b": 192
},
"hsl": {
"h": 278.609,
"s": 47.718,
"l": 52.745
},
"oklch": {
"l": 0.56094,
"c": 0.18061,
"h": 311.6
},
"luminance": 0.15693
}Semantic roles & 50–950 ramp
primary
#974DC0
secondary
#ADCD9B
accent
#D75081
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83