#902197#902197
#902197 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 325.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #902197 |
|---|---|
| RGB | rgb(144, 33, 151) |
| HSL | hsl(296, 64%, 36%) |
| HSV | hsv(296, 78%, 59%) |
| CMYK | cmyk(4.6%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(36.47, 59.01, -39.87) |
| CIE-LCH | lch(36.47, 71.22, 325.95°) |
| OKLab | oklab(47.82% 0.1611 -0.111) |
| OKLCH | oklch(47.82% 0.196 325.4) |
| XYZ | xyz(17.6310, 9.2526, 30.1294) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.96
Warm Purple
#952E8F
ΔE00 3.29
Darkmagenta
#8B008B
ΔE00 3.44
Purple (survey)
#7E1E9C
ΔE00 4.27
Purple
#800080
ΔE00 5.53
Barney
#AC1DB8
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902197 #289721
analogous
#552197 #902197 #972163
triadic
#902197 #979021 #219790
tetradic
#902197 #975521 #289721 #216397
square
#902197 #975521 #289721 #216397
split-complementary
#902197 #639721 #219755
monochromatic
#300B33 #601665 #902197 #C02CC9 #D358DA
Accessibility & contrast
On white
7.37
#902197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#902197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902197
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902197 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#93375C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #902197; /* rgb */ color: rgb(144, 33, 151); /* oklch */ color: oklch(47.8% 0.196 325.4);
Tailwind
colors: {
custom: {
50: '#b46ab6',
500: '#902197',
950: '#000000',
},
}SCSS
$custom: #902197; $custom-light: #b46ab6; $custom-dark: #000000;
JSON
{
"hex": "#902197",
"rgb": {
"r": 144,
"g": 33,
"b": 151
},
"hsl": {
"h": 296.441,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.47819,
"c": 0.19564,
"h": 325.4
},
"luminance": 0.09251
}Semantic roles & 50–950 ramp
primary
#902197
secondary
#5CBE55
accent
#E7414B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80