#974CC7#974CC7
#974CC7 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.190 H 309.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #974CC7 |
|---|---|
| RGB | rgb(151, 76, 199) |
| HSL | hsl(277, 52%, 54%) |
| HSV | hsv(277, 62%, 78%) |
| CMYK | cmyk(24.1%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(46.81, 52.41, -51.70) |
| CIE-LCH | lch(46.81, 73.62, 315.39°) |
| OKLab | oklab(56.4% 0.1212 -0.1457) |
| OKLCH | oklch(56.4% 0.19 309.7) |
| XYZ | xyz(25.6537, 15.8722, 55.7340) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.60
Darkorchid
#9932CC
ΔE00 4.70
Amethyst
#9B5FC0
ΔE00 5.29
Deep Lavender
#8D5EB7
ΔE00 5.41
Lightish Purple
#A552E6
ΔE00 5.54
Purpley
#8756E4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CC7 #7CC74C
analogous
#5A4CC7 #974CC7 #C74CBA
triadic
#974CC7 #C7974C #4CC797
tetradic
#974CC7 #C75A4C #7CC74C #4CBAC7
square
#974CC7 #C75A4C #7CC74C #4CBAC7
split-complementary
#974CC7 #BAC74C #4CC75A
monochromatic
#552474 #7733A3 #974CC7 #B27BD6 #CDA9E4
Accessibility & contrast
On white
5.03
#974CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#974CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CC7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CC7 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#3C70C4
Tritanopia (blue-blind)
#906482
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #974cc7; /* rgb */ color: rgb(151, 76, 199); /* oklch */ color: oklch(56.4% 0.190 309.7);
Tailwind
colors: {
custom: {
50: '#b982d9',
500: '#974cc7',
950: '#000000',
},
}SCSS
$custom: #974cc7; $custom-light: #b982d9; $custom-dark: #000000;
JSON
{
"hex": "#974cc7",
"rgb": {
"r": 151,
"g": 76,
"b": 199
},
"hsl": {
"h": 276.585,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.56401,
"c": 0.18954,
"h": 309.7
},
"luminance": 0.15872
}Semantic roles & 50–950 ramp
primary
#974CC7
secondary
#B2D29D
accent
#DC4C84
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83