#901F7A#901F7A
#901F7A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.176 H 337.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #901F7A |
|---|---|
| RGB | rgb(144, 31, 122) |
| HSL | hsl(312, 65%, 34%) |
| HSV | hsv(312, 78%, 56%) |
| CMYK | cmyk(0%, 78.5%, 15.3%, 43.5%) |
| CIE-LAB | lab(34.63, 54.96, -24.85) |
| CIE-LCH | lch(34.63, 60.31, 335.67°) |
| OKLab | oklab(45.98% 0.1623 -0.0676) |
| OKLCH | oklch(45.98% 0.176 337.4) |
| XYZ | xyz(15.5048, 8.3159, 19.1971) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.38
Darkmagenta
#8B008B
ΔE00 5.26
Barney Purple
#A00498
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.64
Darkish Purple
#751973
ΔE00 5.80
Purple
#800080
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901F7A #1F9035
analogous
#6D1F90 #901F7A #901F42
triadic
#901F7A #7A901F #1F7A90
tetradic
#901F7A #906D1F #1F9035 #1F4290
square
#901F7A #906D1F #1F9035 #1F4290
split-complementary
#901F7A #42901F #1F906D
monochromatic
#2B0925 #5E144F #901F7A #C22AA5 #D950BF
Accessibility & contrast
On white
7.89
#901F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#901F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901F7A
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901F7A | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#98264B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #901f7a; /* rgb */ color: rgb(144, 31, 122); /* oklch */ color: oklch(46.0% 0.176 337.4);
Tailwind
colors: {
custom: {
50: '#b468a0',
500: '#901f7a',
950: '#000000',
},
}SCSS
$custom: #901f7a; $custom-light: #b468a0; $custom-dark: #000000;
JSON
{
"hex": "#901f7a",
"rgb": {
"r": 144,
"g": 31,
"b": 122
},
"hsl": {
"h": 311.681,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.45984,
"c": 0.17583,
"h": 337.4
},
"luminance": 0.08314
}Semantic roles & 50–950 ramp
primary
#901F7A
secondary
#4EBC64
accent
#E86140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E