#901A7C#901A7C
#901A7C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 336.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #901A7C |
|---|---|
| RGB | rgb(144, 26, 124) |
| HSL | hsl(310, 69%, 33%) |
| HSV | hsv(310, 82%, 56%) |
| CMYK | cmyk(0%, 81.9%, 13.9%, 43.5%) |
| CIE-LAB | lab(34.24, 56.67, -26.72) |
| CIE-LCH | lch(34.24, 62.65, 334.76°) |
| OKLab | oklab(45.74% 0.1667 -0.0729) |
| OKLCH | oklch(45.74% 0.182 336.4) |
| XYZ | xyz(15.5094, 8.1248, 19.8163) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Darkmagenta
#8B008B
ΔE00 4.48
Purple
#800080
ΔE00 5.11
Barney Purple
#A00498
ΔE00 5.12
Darkish Purple
#751973
ΔE00 5.43
Red Violet
#9E0168
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901A7C #1A902E
analogous
#691A90 #901A7C #901A41
triadic
#901A7C #7C901A #1A7C90
tetradic
#901A7C #90691A #1A902E #1A4190
square
#901A7C #90691A #1A902E #1A4190
split-complementary
#901A7C #41901A #1A9069
monochromatic
#280723 #5C114F #901A7C #C423A9 #DE47C4
Accessibility & contrast
On white
8.00
#901A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#901A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901A7C
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901A7C | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D457F
Deuteranopia (green-blind)
#485779
Tritanopia (blue-blind)
#98244B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #901a7c; /* rgb */ color: rgb(144, 26, 124); /* oklch */ color: oklch(45.7% 0.182 336.4);
Tailwind
colors: {
custom: {
50: '#b466a2',
500: '#901a7c',
950: '#000000',
},
}SCSS
$custom: #901a7c; $custom-light: #b466a2; $custom-dark: #000000;
JSON
{
"hex": "#901a7c",
"rgb": {
"r": 144,
"g": 26,
"b": 124
},
"hsl": {
"h": 310.169,
"s": 69.412,
"l": 33.333
},
"oklch": {
"l": 0.45736,
"c": 0.18198,
"h": 336.4
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#901A7C
secondary
#47BF5B
accent
#EC5A3C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F