#974DC6#974DC6
#974DC6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.187 H 309.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #974DC6 |
|---|---|
| RGB | rgb(151, 77, 198) |
| HSL | hsl(277, 51%, 54%) |
| HSV | hsv(277, 61%, 78%) |
| CMYK | cmyk(23.7%, 61.1%, 0%, 22.4%) |
| CIE-LAB | lab(46.93, 51.69, -50.93) |
| CIE-LCH | lch(46.93, 72.56, 315.43°) |
| OKLab | oklab(56.47% 0.12 -0.1435) |
| OKLCH | oklch(56.47% 0.187 309.9) |
| XYZ | xyz(25.6075, 15.9648, 55.1477) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.62
Darkorchid
#9932CC
ΔE00 4.94
Amethyst
#9B5FC0
ΔE00 5.03
Deep Lavender
#8D5EB7
ΔE00 5.17
Lightish Purple
#A552E6
ΔE00 5.57
Purpley
#8756E4
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974DC6 #7CC64D
analogous
#5B4DC6 #974DC6 #C64DB9
triadic
#974DC6 #C6974D #4DC697
tetradic
#974DC6 #C65B4D #7CC64D #4DB9C6
square
#974DC6 #C65B4D #7CC64D #4DB9C6
split-complementary
#974DC6 #B9C64D #4DC65B
monochromatic
#552574 #7734A2 #974DC6 #B27BD5 #CDAAE4
Accessibility & contrast
On white
5.01
#974DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#974DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974DC6
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974DC6 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196CCA
Deuteranopia (green-blind)
#3E70C3
Tritanopia (blue-blind)
#916482
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #974dc6; /* rgb */ color: rgb(151, 77, 198); /* oklch */ color: oklch(56.5% 0.187 309.9);
Tailwind
colors: {
custom: {
50: '#b983d8',
500: '#974dc6',
950: '#000000',
},
}SCSS
$custom: #974dc6; $custom-light: #b983d8; $custom-dark: #000000;
JSON
{
"hex": "#974dc6",
"rgb": {
"r": 151,
"g": 77,
"b": 198
},
"hsl": {
"h": 276.694,
"s": 51.489,
"l": 53.922
},
"oklch": {
"l": 0.5647,
"c": 0.18703,
"h": 309.9
},
"luminance": 0.15964
}Semantic roles & 50–950 ramp
primary
#974DC6
secondary
#B2D19E
accent
#DB4D84
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83