#904CD0#904CD0
#904CD0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.197 H 304.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #904CD0 |
|---|---|
| RGB | rgb(144, 76, 208) |
| HSL | hsl(271, 58%, 56%) |
| HSV | hsv(271, 63%, 82%) |
| CMYK | cmyk(30.8%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(46.52, 52.89, -57.40) |
| CIE-LCH | lch(46.52, 78.05, 312.66°) |
| OKLab | oklab(56.18% 0.1117 -0.1627) |
| OKLCH | oklch(56.18% 0.197 304.5) |
| XYZ | xyz(25.4687, 15.6524, 61.3417) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.45
Darkorchid
#9932CC
ΔE00 4.83
Lightish Purple
#A552E6
ΔE00 5.34
Purply
#983FB2
ΔE00 6.19
Deep Lavender
#8D5EB7
ΔE00 6.26
Blueviolet
#8A2BE2
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904CD0 #8CD04C
analogous
#4E4CD0 #904CD0 #D04CCE
triadic
#904CD0 #D0904C #4CD090
tetradic
#904CD0 #D04E4C #8CD04C #4CCED0
square
#904CD0 #D04E4C #8CD04C #4CCED0
split-complementary
#904CD0 #CED04C #4CD04E
monochromatic
#522280 #712EB0 #904CD0 #AE7CDD #CCADE9
Accessibility & contrast
On white
5.08
#904CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#904CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904CD0
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904CD0 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#846887
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #904cd0; /* rgb */ color: rgb(144, 76, 208); /* oklch */ color: oklch(56.2% 0.197 304.5);
Tailwind
colors: {
custom: {
50: '#b582df',
500: '#904cd0',
950: '#000000',
},
}SCSS
$custom: #904cd0; $custom-light: #b582df; $custom-dark: #000000;
JSON
{
"hex": "#904cd0",
"rgb": {
"r": 144,
"g": 76,
"b": 208
},
"hsl": {
"h": 270.909,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.56185,
"c": 0.19732,
"h": 304.5
},
"luminance": 0.15652
}Semantic roles & 50–950 ramp
primary
#904CD0
secondary
#BBD7A0
accent
#E24692
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83