#904F99#904F99
#904F99 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.3% C 0.133 H 322.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #904F99 |
|---|---|
| RGB | rgb(144, 79, 153) |
| HSL | hsl(293, 32%, 45%) |
| HSV | hsv(293, 48%, 60%) |
| CMYK | cmyk(5.9%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(43.98, 39.11, -29.21) |
| CIE-LCH | lch(43.98, 48.81, 323.25°) |
| OKLab | oklab(53.32% 0.1053 -0.0805) |
| OKLCH | oklch(53.32% 0.133 322.6) |
| XYZ | xyz(20.0467, 13.8220, 31.7428) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.85
Light Eggplant
#894585
ΔE00 4.52
Ugly Purple
#A442A0
ΔE00 4.54
Purplish
#94568C
ΔE00 4.78
Purpleish
#98568D
ΔE00 5.12
Purply
#983FB2
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904F99 #58994F
analogous
#6B4F99 #904F99 #994F7D
triadic
#904F99 #99904F #4F9990
tetradic
#904F99 #996B4F #58994F #4F7D99
square
#904F99 #996B4F #58994F #4F7D99
split-complementary
#904F99 #7D994F #4F996B
monochromatic
#442548 #6A3A71 #904F99 #AD70B5 #C498CA
Accessibility & contrast
On white
5.58
#904F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#904F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904F99
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904F99 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#92586D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #904f99; /* rgb */ color: rgb(144, 79, 153); /* oklch */ color: oklch(53.3% 0.133 322.6);
Tailwind
colors: {
custom: {
50: '#b283b7',
500: '#904f99',
950: '#000000',
},
}SCSS
$custom: #904f99; $custom-light: #b283b7; $custom-dark: #000000;
JSON
{
"hex": "#904f99",
"rgb": {
"r": 144,
"g": 79,
"b": 153
},
"hsl": {
"h": 292.703,
"s": 31.897,
"l": 45.49
},
"oklch": {
"l": 0.53317,
"c": 0.1325,
"h": 322.6
},
"luminance": 0.13821
}Semantic roles & 50–950 ramp
primary
#904F99
secondary
#92B78D
accent
#C8606C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80