#901F98#901F98
#901F98 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.198 H 325.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #901F98 |
|---|---|
| RGB | rgb(144, 31, 152) |
| HSL | hsl(296, 66%, 36%) |
| HSV | hsv(296, 80%, 60%) |
| CMYK | cmyk(5.3%, 79.6%, 0%, 40.4%) |
| CIE-LAB | lab(36.32, 59.77, -40.71) |
| CIE-LCH | lch(36.32, 72.32, 325.74°) |
| OKLab | oklab(47.74% 0.1626 -0.1135) |
| OKLCH | oklch(47.74% 0.198 325.1) |
| XYZ | xyz(17.6587, 9.1774, 30.5410) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.98
Darkmagenta
#8B008B
ΔE00 3.35
Warm Purple
#952E8F
ΔE00 3.59
Purple (survey)
#7E1E9C
ΔE00 4.07
Purple
#800080
ΔE00 5.47
Barney
#AC1DB8
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901F98 #27981F
analogous
#531F98 #901F98 #981F63
triadic
#901F98 #98901F #1F9890
tetradic
#901F98 #98531F #27981F #1F6398
square
#901F98 #98531F #27981F #1F6398
split-complementary
#901F98 #63981F #1F9853
monochromatic
#300A32 #601565 #901F98 #C029CB #D355DC
Accessibility & contrast
On white
7.41
#901F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#901F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901F98
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901F98 | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#93365C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #901f98; /* rgb */ color: rgb(144, 31, 152); /* oklch */ color: oklch(47.7% 0.198 325.1);
Tailwind
colors: {
custom: {
50: '#b469b7',
500: '#901f98',
950: '#000000',
},
}SCSS
$custom: #901f98; $custom-light: #b469b7; $custom-dark: #000000;
JSON
{
"hex": "#901f98",
"rgb": {
"r": 144,
"g": 31,
"b": 152
},
"hsl": {
"h": 296.033,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.47738,
"c": 0.19832,
"h": 325.1
},
"luminance": 0.09176
}Semantic roles & 50–950 ramp
primary
#901F98
secondary
#5AC053
accent
#E93F4A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80