#901F7B#901F7B
#901F7B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.177 H 336.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #901F7B |
|---|---|
| RGB | rgb(144, 31, 123) |
| HSL | hsl(311, 65%, 34%) |
| HSV | hsv(311, 78%, 56%) |
| CMYK | cmyk(0%, 78.5%, 14.6%, 43.5%) |
| CIE-LAB | lab(34.68, 55.10, -25.40) |
| CIE-LCH | lch(34.68, 60.68, 335.25°) |
| OKLab | oklab(46.04% 0.1624 -0.0692) |
| OKLCH | oklch(46.04% 0.177 336.9) |
| XYZ | xyz(15.5670, 8.3408, 19.5251) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.21
Darkmagenta
#8B008B
ΔE00 5.08
Barney Purple
#A00498
ΔE00 5.44
Purple
#800080
ΔE00 5.68
Darkish Purple
#751973
ΔE00 5.74
Red Violet
#9E0168
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901F7B #1F9034
analogous
#6C1F90 #901F7B #901F43
triadic
#901F7B #7B901F #1F7B90
tetradic
#901F7B #906C1F #1F9034 #1F4390
square
#901F7B #906C1F #1F9034 #1F4390
split-complementary
#901F7B #43901F #1F906C
monochromatic
#2B0925 #5E1450 #901F7B #C22AA6 #D950C0
Accessibility & contrast
On white
7.87
#901F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#901F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901F7B
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901F7B | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22477D
Deuteranopia (green-blind)
#4A5878
Tritanopia (blue-blind)
#98274B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #901f7b; /* rgb */ color: rgb(144, 31, 123); /* oklch */ color: oklch(46.0% 0.177 336.9);
Tailwind
colors: {
custom: {
50: '#b468a1',
500: '#901f7b',
950: '#000000',
},
}SCSS
$custom: #901f7b; $custom-light: #b468a1; $custom-dark: #000000;
JSON
{
"hex": "#901f7b",
"rgb": {
"r": 144,
"g": 31,
"b": 123
},
"hsl": {
"h": 311.15,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.46037,
"c": 0.17654,
"h": 336.9
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#901F7B
secondary
#4EBC63
accent
#E85F40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E