#904ABE#904ABE
#904ABE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.180 H 309.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #904ABE |
|---|---|
| RGB | rgb(144, 74, 190) |
| HSL | hsl(276, 47%, 52%) |
| HSV | hsv(276, 61%, 75%) |
| CMYK | cmyk(24.2%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(45.00, 49.72, -49.42) |
| CIE-LCH | lch(45.00, 70.10, 315.18°) |
| OKLab | oklab(54.73% 0.1148 -0.1392) |
| OKLCH | oklch(54.73% 0.18 309.5) |
| XYZ | xyz(23.2428, 14.5450, 50.2883) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.59
Darkorchid
#9932CC
ΔE00 4.47
Deep Lavender
#8D5EB7
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 5.61
Amethyst
#9B5FC0
ΔE00 6.24
Medium Purple
#9E43A2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904ABE #78BE4A
analogous
#564ABE #904ABE #BE4AB2
triadic
#904ABE #BE904A #4ABE90
tetradic
#904ABE #BE564A #78BE4A #4AB2BE
square
#904ABE #BE564A #78BE4A #4AB2BE
split-complementary
#904ABE #B2BE4A #4ABE56
monochromatic
#4E2568 #6F3695 #904ABE #AC77CE #C7A4DE
Accessibility & contrast
On white
5.37
#904ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#904ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904ABE
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904ABE | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#8A607D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #904abe; /* rgb */ color: rgb(144, 74, 190); /* oklch */ color: oklch(54.7% 0.180 309.5);
Tailwind
colors: {
custom: {
50: '#b480d2',
500: '#904abe',
950: '#000000',
},
}SCSS
$custom: #904abe; $custom-light: #b480d2; $custom-dark: #000000;
JSON
{
"hex": "#904abe",
"rgb": {
"r": 144,
"g": 74,
"b": 190
},
"hsl": {
"h": 276.207,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.54726,
"c": 0.18048,
"h": 309.5
},
"luminance": 0.14545
}Semantic roles & 50–950 ramp
primary
#904ABE
secondary
#ADCB98
accent
#D75186
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83