#904BBE#904BBE
#904BBE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.179 H 309.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #904BBE |
|---|---|
| RGB | rgb(144, 75, 190) |
| HSL | hsl(276, 47%, 52%) |
| HSV | hsv(276, 61%, 75%) |
| CMYK | cmyk(24.2%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(45.19, 49.21, -49.12) |
| CIE-LCH | lch(45.19, 69.53, 315.06°) |
| OKLab | oklab(54.86% 0.1136 -0.1384) |
| OKLCH | oklch(54.86% 0.179 309.4) |
| XYZ | xyz(23.3101, 14.6796, 50.3107) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.72
Darkorchid
#9932CC
ΔE00 4.67
Deep Lavender
#8D5EB7
ΔE00 5.24
Royal Purple
#7851A9
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904BBE #79BE4B
analogous
#574BBE #904BBE #BE4BB3
triadic
#904BBE #BE904B #4BBE90
tetradic
#904BBE #BE574B #79BE4B #4BB3BE
square
#904BBE #BE574B #79BE4B #4BB3BE
split-complementary
#904BBE #B3BE4B #4BBE57
monochromatic
#4E2669 #6F3696 #904BBE #AC78CE #C7A5DE
Accessibility & contrast
On white
5.34
#904BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#904BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904BBE
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904BBE | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#8A617D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #904bbe; /* rgb */ color: rgb(144, 75, 190); /* oklch */ color: oklch(54.9% 0.179 309.4);
Tailwind
colors: {
custom: {
50: '#b481d2',
500: '#904bbe',
950: '#000000',
},
}SCSS
$custom: #904bbe; $custom-light: #b481d2; $custom-dark: #000000;
JSON
{
"hex": "#904bbe",
"rgb": {
"r": 144,
"g": 75,
"b": 190
},
"hsl": {
"h": 276,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.54862,
"c": 0.17901,
"h": 309.4
},
"luminance": 0.14679
}Semantic roles & 50–950 ramp
primary
#904BBE
secondary
#ADCC99
accent
#D75187
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83