#904F97#904F97
#904F97 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.2% C 0.130 H 323.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #904F97 |
|---|---|
| RGB | rgb(144, 79, 151) |
| HSL | hsl(294, 31%, 45%) |
| HSV | hsv(294, 48%, 59%) |
| CMYK | cmyk(4.6%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(43.88, 38.70, -28.16) |
| CIE-LCH | lch(43.88, 47.86, 323.96°) |
| OKLab | oklab(53.22% 0.1049 -0.0775) |
| OKLCH | oklch(53.22% 0.13 323.6) |
| XYZ | xyz(19.8829, 13.7565, 30.8801) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 4.03
Light Eggplant
#894585
ΔE00 4.19
Purplish
#94568C
ΔE00 4.38
Ugly Purple
#A442A0
ΔE00 4.61
Purpleish
#98568D
ΔE00 4.74
Purply
#983FB2
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904F97 #56974F
analogous
#6C4F97 #904F97 #974F7A
triadic
#904F97 #97904F #4F9790
tetradic
#904F97 #976C4F #56974F #4F7A97
square
#904F97 #976C4F #56974F #4F7A97
split-complementary
#904F97 #7A974F #4F976C
monochromatic
#432547 #6A3A6F #904F97 #AD6FB4 #C498C9
Accessibility & contrast
On white
5.60
#904F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#904F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904F97
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904F97 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#92586C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #904f97; /* rgb */ color: rgb(144, 79, 151); /* oklch */ color: oklch(53.2% 0.130 323.6);
Tailwind
colors: {
custom: {
50: '#b282b6',
500: '#904f97',
950: '#000000',
},
}SCSS
$custom: #904f97; $custom-light: #b282b6; $custom-dark: #000000;
JSON
{
"hex": "#904f97",
"rgb": {
"r": 144,
"g": 79,
"b": 151
},
"hsl": {
"h": 294.167,
"s": 31.304,
"l": 45.098
},
"oklch": {
"l": 0.53216,
"c": 0.13041,
"h": 323.6
},
"luminance": 0.13756
}Semantic roles & 50–950 ramp
primary
#904F97
secondary
#90B68C
accent
#C7606A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80