#904ABC#904ABC
#904ABC is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.178 H 310.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #904ABC |
|---|---|
| RGB | rgb(144, 74, 188) |
| HSL | hsl(277, 46%, 51%) |
| HSV | hsv(277, 61%, 74%) |
| CMYK | cmyk(23.4%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(44.88, 49.27, -48.45) |
| CIE-LCH | lch(44.88, 69.10, 315.48°) |
| OKLab | oklab(54.6% 0.1149 -0.1364) |
| OKLCH | oklch(54.6% 0.178 310.1) |
| XYZ | xyz(23.0257, 14.4581, 49.1449) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.35
Darkorchid
#9932CC
ΔE00 4.61
Deep Lavender
#8D5EB7
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 5.50
Amethyst
#9B5FC0
ΔE00 6.23
Medium Purple
#9E43A2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904ABC #76BC4A
analogous
#574ABC #904ABC #BC4AAF
triadic
#904ABC #BC904A #4ABC90
tetradic
#904ABC #BC574A #76BC4A #4AAFBC
square
#904ABC #BC574A #76BC4A #4AAFBC
split-complementary
#904ABC #AFBC4A #4ABC57
monochromatic
#4D2666 #6F3693 #904ABC #AB77CD #C7A3DD
Accessibility & contrast
On white
5.40
#904ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#904ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904ABC
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904ABC | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#8A607C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #904abc; /* rgb */ color: rgb(144, 74, 188); /* oklch */ color: oklch(54.6% 0.178 310.1);
Tailwind
colors: {
custom: {
50: '#b480d1',
500: '#904abc',
950: '#000000',
},
}SCSS
$custom: #904abc; $custom-light: #b480d1; $custom-dark: #000000;
JSON
{
"hex": "#904abc",
"rgb": {
"r": 144,
"g": 74,
"b": 188
},
"hsl": {
"h": 276.842,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.54598,
"c": 0.17831,
"h": 310.1
},
"luminance": 0.14458
}Semantic roles & 50–950 ramp
primary
#904ABC
secondary
#ABCA98
accent
#D65285
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82