#901F78#901F78
#901F78 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 338.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #901F78 |
|---|---|
| RGB | rgb(144, 31, 120) |
| HSL | hsl(313, 65%, 34%) |
| HSV | hsv(313, 78%, 56%) |
| CMYK | cmyk(0%, 78.5%, 16.7%, 43.5%) |
| CIE-LAB | lab(34.53, 54.66, -23.75) |
| CIE-LCH | lch(34.53, 59.60, 336.52°) |
| OKLab | oklab(45.88% 0.1621 -0.0645) |
| OKLCH | oklch(45.88% 0.174 338.3) |
| XYZ | xyz(15.3821, 8.2668, 18.5512) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.74
Red Violet
#9E0168
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 5.64
Darkish Purple
#751973
ΔE00 5.95
Barney Purple
#A00498
ΔE00 6.00
Purple
#800080
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901F78 #1F9037
analogous
#701F90 #901F78 #901F40
triadic
#901F78 #78901F #1F7890
tetradic
#901F78 #90701F #1F9037 #1F4090
square
#901F78 #90701F #1F9037 #1F4090
split-complementary
#901F78 #40901F #1F9070
monochromatic
#2B0924 #5E144E #901F78 #C22AA2 #D950BC
Accessibility & contrast
On white
7.92
#901F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#901F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901F78
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901F78 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4C5775
Tritanopia (blue-blind)
#98254A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #901f78; /* rgb */ color: rgb(144, 31, 120); /* oklch */ color: oklch(45.9% 0.174 338.3);
Tailwind
colors: {
custom: {
50: '#b4689f',
500: '#901f78',
950: '#000000',
},
}SCSS
$custom: #901f78; $custom-light: #b4689f; $custom-dark: #000000;
JSON
{
"hex": "#901f78",
"rgb": {
"r": 144,
"g": 31,
"b": 120
},
"hsl": {
"h": 312.743,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.4588,
"c": 0.17446,
"h": 338.3
},
"luminance": 0.08265
}Semantic roles & 50–950 ramp
primary
#901F78
secondary
#4EBC66
accent
#E86440
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E