#901B79#901B79
#901B79 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.179 H 337.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #901B79 |
|---|---|
| RGB | rgb(144, 27, 121) |
| HSL | hsl(312, 68%, 34%) |
| HSV | hsv(312, 81%, 56%) |
| CMYK | cmyk(0%, 81.3%, 16%, 43.5%) |
| CIE-LAB | lab(34.18, 55.96, -24.93) |
| CIE-LCH | lch(34.18, 61.27, 335.99°) |
| OKLab | oklab(45.64% 0.1657 -0.0678) |
| OKLCH | oklch(45.64% 0.179 337.7) |
| XYZ | xyz(15.3451, 8.0951, 18.8398) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.73
Darkmagenta
#8B008B
ΔE00 5.13
Red Violet
#9E0168
ΔE00 5.49
Purple
#800080
ΔE00 5.59
Darkish Purple
#751973
ΔE00 5.64
Barney Purple
#A00498
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901B79 #1B9032
analogous
#6C1B90 #901B79 #901B3E
triadic
#901B79 #79901B #1B7990
tetradic
#901B79 #906C1B #1B9032 #1B3E90
square
#901B79 #906C1B #1B9032 #1B3E90
split-complementary
#901B79 #3E901B #1B906C
monochromatic
#290822 #5C114E #901B79 #C425A4 #DD49C0
Accessibility & contrast
On white
8.02
#901B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#901B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901B79
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901B79 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#982349
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #901b79; /* rgb */ color: rgb(144, 27, 121); /* oklch */ color: oklch(45.6% 0.179 337.7);
Tailwind
colors: {
custom: {
50: '#b467a0',
500: '#901b79',
950: '#000000',
},
}SCSS
$custom: #901b79; $custom-light: #b467a0; $custom-dark: #000000;
JSON
{
"hex": "#901b79",
"rgb": {
"r": 144,
"g": 27,
"b": 121
},
"hsl": {
"h": 311.795,
"s": 68.421,
"l": 33.529
},
"oklch": {
"l": 0.45642,
"c": 0.17903,
"h": 337.7
},
"luminance": 0.08094
}Semantic roles & 50–950 ramp
primary
#901B79
secondary
#48BF5F
accent
#EB5F3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E