#904BBD#904BBD
#904BBD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.178 H 309.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #904BBD |
|---|---|
| RGB | rgb(144, 75, 189) |
| HSL | hsl(276, 46%, 52%) |
| HSV | hsv(276, 60%, 74%) |
| CMYK | cmyk(23.8%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(45.13, 48.99, -48.63) |
| CIE-LCH | lch(45.13, 69.03, 315.21°) |
| OKLab | oklab(54.8% 0.1136 -0.1369) |
| OKLCH | oklch(54.8% 0.178 309.7) |
| XYZ | xyz(23.2012, 14.6360, 49.7370) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.61
Darkorchid
#9932CC
ΔE00 4.74
Deep Lavender
#8D5EB7
ΔE00 5.21
Royal Purple
#7851A9
ΔE00 5.50
Amethyst
#9B5FC0
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904BBD #78BD4B
analogous
#574BBD #904BBD #BD4BB1
triadic
#904BBD #BD904B #4BBD90
tetradic
#904BBD #BD574B #78BD4B #4BB1BD
square
#904BBD #BD574B #78BD4B #4BB1BD
split-complementary
#904BBD #B1BD4B #4BBD57
monochromatic
#4E2668 #6F3694 #904BBD #AC78CD #C7A5DE
Accessibility & contrast
On white
5.35
#904BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#904BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904BBD
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904BBD | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#8A617D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #904bbd; /* rgb */ color: rgb(144, 75, 189); /* oklch */ color: oklch(54.8% 0.178 309.7);
Tailwind
colors: {
custom: {
50: '#b481d1',
500: '#904bbd',
950: '#000000',
},
}SCSS
$custom: #904bbd; $custom-light: #b481d1; $custom-dark: #000000;
JSON
{
"hex": "#904bbd",
"rgb": {
"r": 144,
"g": 75,
"b": 189
},
"hsl": {
"h": 276.316,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.54798,
"c": 0.17792,
"h": 309.7
},
"luminance": 0.14636
}Semantic roles & 50–950 ramp
primary
#904BBD
secondary
#ADCB99
accent
#D65286
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82