#974CD3#974CD3
#974CD3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.202 H 306.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #974CD3 |
|---|---|
| RGB | rgb(151, 76, 211) |
| HSL | hsl(273, 61%, 56%) |
| HSV | hsv(273, 64%, 83%) |
| CMYK | cmyk(28.4%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(47.56, 55.13, -57.39) |
| CIE-LCH | lch(47.56, 79.58, 313.85°) |
| OKLab | oklab(57.19% 0.1206 -0.1624) |
| OKLCH | oklch(57.19% 0.202 306.6) |
| XYZ | xyz(27.1023, 16.4516, 63.3631) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.76
Darkorchid
#9932CC
ΔE00 4.97
Amethyst
#9B5FC0
ΔE00 6.00
Purply
#983FB2
ΔE00 6.26
Deep Lavender
#8D5EB7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CD3 #88D34C
analogous
#544CD3 #974CD3 #D34CCC
triadic
#974CD3 #D3974C #4CD397
tetradic
#974CD3 #D3544C #88D34C #4CCCD3
square
#974CD3 #D3544C #88D34C #4CCCD3
split-complementary
#974CD3 #CCD34C #4CD354
monochromatic
#582084 #782DB5 #974CD3 #B47DDF #D0AEEB
Accessibility & contrast
On white
4.89
#974CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#974CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CD3
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CD3 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#2E71D0
Tritanopia (blue-blind)
#8D6889
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #974cd3; /* rgb */ color: rgb(151, 76, 211); /* oklch */ color: oklch(57.2% 0.202 306.6);
Tailwind
colors: {
custom: {
50: '#ba82e1',
500: '#974cd3',
950: '#000000',
},
}SCSS
$custom: #974cd3; $custom-light: #ba82e1; $custom-dark: #000000;
JSON
{
"hex": "#974cd3",
"rgb": {
"r": 151,
"g": 76,
"b": 211
},
"hsl": {
"h": 273.333,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.57189,
"c": 0.20232,
"h": 306.6
},
"luminance": 0.16451
}Semantic roles & 50–950 ramp
primary
#974CD3
secondary
#BAD9A2
accent
#E4448B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83