#962478#962478
#962478 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.173 H 340.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #962478 |
|---|---|
| RGB | rgb(150, 36, 120) |
| HSL | hsl(316, 61%, 36%) |
| HSV | hsv(316, 76%, 59%) |
| CMYK | cmyk(0%, 76%, 20%, 41.2%) |
| CIE-LAB | lab(36.18, 54.56, -21.10) |
| CIE-LCH | lch(36.18, 58.49, 338.86°) |
| OKLab | oklab(47.28% 0.1632 -0.0569) |
| OKLCH | oklch(47.28% 0.173 340.8) |
| XYZ | xyz(16.5992, 9.1035, 18.6486) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.46
Warm Purple
#952E8F
ΔE00 4.93
Barney Purple
#A00498
ΔE00 6.48
Light Eggplant
#894585
ΔE00 6.85
Bruise
#7E4071
ΔE00 6.89
Darkmagenta
#8B008B
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962478 #249642
analogous
#7B2496 #962478 #96243F
triadic
#962478 #789624 #247896
tetradic
#962478 #967B24 #249642 #243F96
square
#962478 #967B24 #249642 #243F96
split-complementary
#962478 #3F9624 #24967B
monochromatic
#330C29 #651851 #962478 #C7309F #D85CB7
Accessibility & contrast
On white
7.45
#962478 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#962478 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962478
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962478 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962478 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#525C75
Tritanopia (blue-blind)
#9F274B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #962478; /* rgb */ color: rgb(150, 36, 120); /* oklch */ color: oklch(47.3% 0.173 340.8);
Tailwind
colors: {
custom: {
50: '#b96b9f',
500: '#962478',
950: '#000000',
},
}SCSS
$custom: #962478; $custom-light: #b96b9f; $custom-dark: #000000;
JSON
{
"hex": "#962478",
"rgb": {
"r": 150,
"g": 36,
"b": 120
},
"hsl": {
"h": 315.789,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.47276,
"c": 0.17282,
"h": 340.8
},
"luminance": 0.09102
}Semantic roles & 50–950 ramp
primary
#962478
secondary
#59BD73
accent
#E46E43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E