#974784#974784
#974784 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.0% C 0.132 H 337.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #974784 |
|---|---|
| RGB | rgb(151, 71, 132) |
| HSL | hsl(314, 36%, 44%) |
| HSV | hsv(314, 53%, 59%) |
| CMYK | cmyk(0%, 53%, 12.6%, 40.8%) |
| CIE-LAB | lab(42.39, 41.60, -18.92) |
| CIE-LCH | lch(42.39, 45.70, 335.55°) |
| OKLab | oklab(52.03% 0.1215 -0.051) |
| OKLCH | oklch(52.03% 0.132 337.2) |
| XYZ | xyz(19.1807, 12.7531, 23.2767) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.55
Purpleish
#98568D
ΔE00 4.09
Purplish
#94568C
ΔE00 4.14
Light Plum
#9D5783
ΔE00 5.34
Bruise
#7E4071
ΔE00 5.85
Ugly Purple
#A442A0
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#974784 #47975A
analogous
#824797 #974784 #97475C
triadic
#974784 #849747 #478497
tetradic
#974784 #978247 #47975A #475C97
square
#974784 #978247 #47975A #475C97
split-complementary
#974784 #5C9747 #479782
monochromatic
#44203B #6D3360 #974784 #B665A3 #CA8EBC
Accessibility & contrast
On white
5.91
#974784 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#974784 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #974784
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##974784 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##974784 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495C86
Deuteranopia (green-blind)
#5F6982
Tritanopia (blue-blind)
#9E4A5F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #974784; /* rgb */ color: rgb(151, 71, 132); /* oklch */ color: oklch(52.0% 0.132 337.2);
Tailwind
colors: {
custom: {
50: '#b87ea8',
500: '#974784',
950: '#000000',
},
}SCSS
$custom: #974784; $custom-light: #b87ea8; $custom-dark: #000000;
JSON
{
"hex": "#974784",
"rgb": {
"r": 151,
"g": 71,
"b": 132
},
"hsl": {
"h": 314.25,
"s": 36.036,
"l": 43.529
},
"oklch": {
"l": 0.52033,
"c": 0.13172,
"h": 337.2
},
"luminance": 0.12752
}Semantic roles & 50–950 ramp
primary
#974784
secondary
#84B690
accent
#CC765C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A0F
muted
#817C7F