#974CA2#974CA2
#974CA2 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.2% C 0.151 H 322.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #974CA2 |
|---|---|
| RGB | rgb(151, 76, 162) |
| HSL | hsl(292, 36%, 47%) |
| HSV | hsv(292, 53%, 64%) |
| CMYK | cmyk(6.8%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(44.74, 44.56, -33.31) |
| CIE-LCH | lch(44.74, 55.63, 323.22°) |
| OKLab | oklab(54.23% 0.1195 -0.0921) |
| OKLCH | oklch(54.23% 0.151 322.4) |
| XYZ | xyz(21.8678, 14.3578, 35.7949) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.21
Ugly Purple
#A442A0
ΔE00 3.17
Purply
#983FB2
ΔE00 4.37
Light Eggplant
#894585
ΔE00 5.99
Purplish
#94568C
ΔE00 6.30
Purpleish
#98568D
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974CA2 #57A24C
analogous
#6C4CA2 #974CA2 #A24C82
triadic
#974CA2 #A2974C #4CA297
tetradic
#974CA2 #A26C4C #57A24C #4C82A2
square
#974CA2 #A26C4C #57A24C #4C82A2
split-complementary
#974CA2 #82A24C #4CA26C
monochromatic
#49254F #703878 #974CA2 #B270BC #C899CF
Accessibility & contrast
On white
5.42
#974CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#974CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974CA2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974CA2 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#995770
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #974ca2; /* rgb */ color: rgb(151, 76, 162); /* oklch */ color: oklch(54.2% 0.151 322.4);
Tailwind
colors: {
custom: {
50: '#b881be',
500: '#974ca2',
950: '#000000',
},
}SCSS
$custom: #974ca2; $custom-light: #b881be; $custom-dark: #000000;
JSON
{
"hex": "#974ca2",
"rgb": {
"r": 151,
"g": 76,
"b": 162
},
"hsl": {
"h": 292.326,
"s": 36.134,
"l": 46.667
},
"oklch": {
"l": 0.54225,
"c": 0.15086,
"h": 322.4
},
"luminance": 0.14357
}Semantic roles & 50–950 ramp
primary
#974CA2
secondary
#94BC8E
accent
#CC5C6A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#120B12
muted
#817C81