#901F96#901F96
#901F96 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.197 H 325.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #901F96 |
|---|---|
| RGB | rgb(144, 31, 150) |
| HSL | hsl(297, 66%, 35%) |
| HSV | hsv(297, 79%, 59%) |
| CMYK | cmyk(4%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(36.20, 59.43, -39.69) |
| CIE-LCH | lch(36.20, 71.46, 326.27°) |
| OKLab | oklab(47.61% 0.1628 -0.1105) |
| OKLCH | oklch(47.61% 0.197 325.8) |
| XYZ | xyz(17.4962, 9.1125, 29.6856) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.87
Darkmagenta
#8B008B
ΔE00 3.17
Warm Purple
#952E8F
ΔE00 3.35
Purple (survey)
#7E1E9C
ΔE00 4.28
Purple
#800080
ΔE00 5.28
Barney
#AC1DB8
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901F96 #25961F
analogous
#541F96 #901F96 #961F60
triadic
#901F96 #96901F #1F9690
tetradic
#901F96 #96541F #25961F #1F6096
square
#901F96 #96541F #25961F #1F6096
split-complementary
#901F96 #60961F #1F9654
monochromatic
#2F0A31 #5F1563 #901F96 #C129C9 #D554DC
Accessibility & contrast
On white
7.44
#901F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#901F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901F96
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901F96 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#94355B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #901f96; /* rgb */ color: rgb(144, 31, 150); /* oklch */ color: oklch(47.6% 0.197 325.8);
Tailwind
colors: {
custom: {
50: '#b469b5',
500: '#901f96',
950: '#000000',
},
}SCSS
$custom: #901f96; $custom-light: #b469b5; $custom-dark: #000000;
JSON
{
"hex": "#901f96",
"rgb": {
"r": 144,
"g": 31,
"b": 150
},
"hsl": {
"h": 296.975,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.4761,
"c": 0.19673,
"h": 325.8
},
"luminance": 0.09111
}Semantic roles & 50–950 ramp
primary
#901F96
secondary
#57BF52
accent
#E93F48
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80