#901C78#901C78
#901C78 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.177 H 338.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #901C78 |
|---|---|
| RGB | rgb(144, 28, 120) |
| HSL | hsl(312, 67%, 34%) |
| HSV | hsv(312, 81%, 56%) |
| CMYK | cmyk(0%, 80.6%, 16.7%, 43.5%) |
| CIE-LAB | lab(34.23, 55.54, -24.23) |
| CIE-LCH | lch(34.23, 60.60, 336.43°) |
| OKLab | oklab(45.66% 0.1648 -0.0658) |
| OKLCH | oklch(45.66% 0.177 338.2) |
| XYZ | xyz(15.3074, 8.1174, 18.5263) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.86
Red Violet
#9E0168
ΔE00 5.29
Darkmagenta
#8B008B
ΔE00 5.40
Darkish Purple
#751973
ΔE00 5.77
Purple
#800080
ΔE00 5.82
Barney Purple
#A00498
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901C78 #1C9034
analogous
#6E1C90 #901C78 #901C3E
triadic
#901C78 #78901C #1C7890
tetradic
#901C78 #906E1C #1C9034 #1C3E90
square
#901C78 #906E1C #1C9034 #1C3E90
split-complementary
#901C78 #3E901C #1C906E
monochromatic
#2A0823 #5D124D #901C78 #C326A3 #DC4ABE
Accessibility & contrast
On white
8.01
#901C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#901C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901C78
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901C78 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#982349
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #901c78; /* rgb */ color: rgb(144, 28, 120); /* oklch */ color: oklch(45.7% 0.177 338.2);
Tailwind
colors: {
custom: {
50: '#b4679f',
500: '#901c78',
950: '#000000',
},
}SCSS
$custom: #901c78; $custom-light: #b4679f; $custom-dark: #000000;
JSON
{
"hex": "#901c78",
"rgb": {
"r": 144,
"g": 28,
"b": 120
},
"hsl": {
"h": 312.414,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.45659,
"c": 0.17741,
"h": 338.2
},
"luminance": 0.08116
}Semantic roles & 50–950 ramp
primary
#901C78
secondary
#4ABE62
accent
#EA613D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E