#904FC0#904FC0
#904FC0 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.175 H 308.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #904FC0 |
|---|---|
| RGB | rgb(144, 79, 192) |
| HSL | hsl(275, 47%, 53%) |
| HSV | hsv(275, 59%, 75%) |
| CMYK | cmyk(25%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(46.08, 47.61, -48.86) |
| CIE-LCH | lch(46.08, 68.22, 314.26°) |
| OKLab | oklab(55.55% 0.1086 -0.1376) |
| OKLCH | oklch(55.55% 0.175 308.3) |
| XYZ | xyz(23.8101, 15.3274, 51.5631) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.42
Purply
#983FB2
ΔE00 4.59
Amethyst
#9B5FC0
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 5.59
Purpley
#8756E4
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904FC0 #7FC04F
analogous
#574FC0 #904FC0 #C04FB7
triadic
#904FC0 #C0904F #4FC090
tetradic
#904FC0 #C0574F #7FC04F #4FB7C0
square
#904FC0 #C0574F #7FC04F #4FB7C0
split-complementary
#904FC0 #B7C04F #4FC057
monochromatic
#50276D #70379A #904FC0 #AC7CD0 #C9A9E0
Accessibility & contrast
On white
5.17
#904FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#904FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904FC0
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904FC0 | 1.00 | 5.17 | 4.07 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236BC4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#896480
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #904fc0; /* rgb */ color: rgb(144, 79, 192); /* oklch */ color: oklch(55.5% 0.175 308.3);
Tailwind
colors: {
custom: {
50: '#b483d4',
500: '#904fc0',
950: '#000000',
},
}SCSS
$custom: #904fc0; $custom-light: #b483d4; $custom-dark: #000000;
JSON
{
"hex": "#904fc0",
"rgb": {
"r": 144,
"g": 79,
"b": 192
},
"hsl": {
"h": 274.513,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.55547,
"c": 0.17529,
"h": 308.3
},
"luminance": 0.15327
}Semantic roles & 50–950 ramp
primary
#904FC0
secondary
#B2CE9D
accent
#D7518A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83