#974AAA#974AAA
#974AAA is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.4% C 0.162 H 319.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #974AAA |
|---|---|
| RGB | rgb(151, 74, 170) |
| HSL | hsl(288, 39%, 48%) |
| HSV | hsv(288, 56%, 67%) |
| CMYK | cmyk(11.2%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(44.77, 47.19, -38.00) |
| CIE-LCH | lch(44.77, 60.59, 321.16°) |
| OKLab | oklab(54.38% 0.123 -0.1057) |
| OKLCH | oklch(54.38% 0.162 319.3) |
| XYZ | xyz(22.4660, 14.3801, 39.6146) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.67
Purply
#983FB2
ΔE00 2.84
Ugly Purple
#A442A0
ΔE00 3.91
Deep Lavender
#8D5EB7
ΔE00 6.22
Barney
#AC1DB8
ΔE00 6.60
Amethyst
#9B5FC0
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974AAA #5DAA4A
analogous
#674AAA #974AAA #AA4A8D
triadic
#974AAA #AA974A #4AAA97
tetradic
#974AAA #AA674A #5DAA4A #4A8DAA
square
#974AAA #AA674A #5DAA4A #4A8DAA
split-complementary
#974AAA #8DAA4A #4AAA67
monochromatic
#4B2555 #71377F #974AAA #B170C1 #C89BD3
Accessibility & contrast
On white
5.42
#974AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#974AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974AAA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974AAA | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#506DA7
Tritanopia (blue-blind)
#975973
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #974aaa; /* rgb */ color: rgb(151, 74, 170); /* oklch */ color: oklch(54.4% 0.162 319.3);
Tailwind
colors: {
custom: {
50: '#b880c4',
500: '#974aaa',
950: '#000000',
},
}SCSS
$custom: #974aaa; $custom-light: #b880c4; $custom-dark: #000000;
JSON
{
"hex": "#974aaa",
"rgb": {
"r": 151,
"g": 74,
"b": 170
},
"hsl": {
"h": 288.125,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.54382,
"c": 0.16221,
"h": 319.3
},
"luminance": 0.14379
}Semantic roles & 50–950 ramp
primary
#974AAA
secondary
#99C090
accent
#CF5970
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A12
muted
#817C81