#901F97#901F97
#901F97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.198 H 325.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #901F97 |
|---|---|
| RGB | rgb(144, 31, 151) |
| HSL | hsl(297, 66%, 36%) |
| HSV | hsv(297, 79%, 59%) |
| CMYK | cmyk(4.6%, 79.5%, 0%, 40.8%) |
| CIE-LAB | lab(36.26, 59.60, -40.20) |
| CIE-LCH | lch(36.26, 71.89, 326.00°) |
| OKLab | oklab(47.67% 0.1627 -0.112) |
| OKLCH | oklch(47.67% 0.198 325.5) |
| XYZ | xyz(17.5771, 9.1448, 30.1115) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.92
Darkmagenta
#8B008B
ΔE00 3.25
Warm Purple
#952E8F
ΔE00 3.47
Purple (survey)
#7E1E9C
ΔE00 4.17
Purple
#800080
ΔE00 5.37
Barney
#AC1DB8
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901F97 #26971F
analogous
#541F97 #901F97 #971F62
triadic
#901F97 #97901F #1F9790
tetradic
#901F97 #97541F #26971F #1F6297
square
#901F97 #97541F #26971F #1F6297
split-complementary
#901F97 #62971F #1F9754
monochromatic
#2F0A31 #601564 #901F97 #C029CA #D454DC
Accessibility & contrast
On white
7.42
#901F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#901F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901F97
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901F97 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#93365B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #901f97; /* rgb */ color: rgb(144, 31, 151); /* oklch */ color: oklch(47.7% 0.198 325.5);
Tailwind
colors: {
custom: {
50: '#b469b6',
500: '#901f97',
950: '#000000',
},
}SCSS
$custom: #901f97; $custom-light: #b469b6; $custom-dark: #000000;
JSON
{
"hex": "#901f97",
"rgb": {
"r": 144,
"g": 31,
"b": 151
},
"hsl": {
"h": 296.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47674,
"c": 0.19753,
"h": 325.5
},
"luminance": 0.09144
}Semantic roles & 50–950 ramp
primary
#901F97
secondary
#59BF52
accent
#E93F49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80