#974F97#974F97
#974F97 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.135 H 327.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #974F97 |
|---|---|
| RGB | rgb(151, 79, 151) |
| HSL | hsl(300, 31%, 45%) |
| HSV | hsv(300, 48%, 59%) |
| CMYK | cmyk(0%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(44.81, 40.85, -26.64) |
| CIE-LCH | lch(44.81, 48.77, 326.89°) |
| OKLab | oklab(54.1% 0.1134 -0.073) |
| OKLCH | oklch(54.1% 0.135 327.2) |
| XYZ | xyz(21.1440, 14.4067, 30.9392) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish
#94568C
ΔE00 3.69
Medium Purple
#9E43A2
ΔE00 3.72
Purpleish
#98568D
ΔE00 3.77
Ugly Purple
#A442A0
ΔE00 3.78
Light Eggplant
#894585
ΔE00 4.60
Purply
#983FB2
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974F97 #4F974F
analogous
#734F97 #974F97 #974F73
triadic
#974F97 #97974F #4F9797
tetradic
#974F97 #97734F #4F974F #4F7397
square
#974F97 #97734F #4F974F #4F7397
split-complementary
#974F97 #73974F #4F9773
monochromatic
#472547 #6F3A6F #974F97 #B46FB4 #C998C9
Accessibility & contrast
On white
5.41
#974F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#974F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974F97
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974F97 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#9B576C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #974f97; /* rgb */ color: rgb(151, 79, 151); /* oklch */ color: oklch(54.1% 0.135 327.2);
Tailwind
colors: {
custom: {
50: '#b783b6',
500: '#974f97',
950: '#000000',
},
}SCSS
$custom: #974f97; $custom-light: #b783b6; $custom-dark: #000000;
JSON
{
"hex": "#974f97",
"rgb": {
"r": 151,
"g": 79,
"b": 151
},
"hsl": {
"h": 300,
"s": 31.304,
"l": 45.098
},
"oklch": {
"l": 0.54103,
"c": 0.13488,
"h": 327.2
},
"luminance": 0.14406
}Semantic roles & 50–950 ramp
primary
#974F97
secondary
#8CB68C
accent
#C76060
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80