#904BBB#904BBB
#904BBB is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.176 H 310.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #904BBB |
|---|---|
| RGB | rgb(144, 75, 187) |
| HSL | hsl(277, 45%, 51%) |
| HSV | hsv(277, 60%, 73%) |
| CMYK | cmyk(23%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(45.01, 48.53, -47.66) |
| CIE-LCH | lch(45.01, 68.02, 315.52°) |
| OKLab | oklab(54.67% 0.1136 -0.1341) |
| OKLCH | oklch(54.67% 0.176 310.3) |
| XYZ | xyz(22.9856, 14.5498, 48.6016) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.39
Darkorchid
#9932CC
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 5.16
Royal Purple
#7851A9
ΔE00 5.39
Amethyst
#9B5FC0
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904BBB #76BB4B
analogous
#584BBB #904BBB #BB4BAE
triadic
#904BBB #BB904B #4BBB90
tetradic
#904BBB #BB584B #76BB4B #4BAEBB
square
#904BBB #BB584B #76BB4B #4BAEBB
split-complementary
#904BBB #AEBB4B #4BBB58
monochromatic
#4D2665 #6F3792 #904BBB #AB77CC #C7A4DD
Accessibility & contrast
On white
5.37
#904BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#904BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904BBB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904BBB | 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)
#2067BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#8A607C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #904bbb; /* rgb */ color: rgb(144, 75, 187); /* oklch */ color: oklch(54.7% 0.176 310.3);
Tailwind
colors: {
custom: {
50: '#b481d0',
500: '#904bbb',
950: '#000000',
},
}SCSS
$custom: #904bbb; $custom-light: #b481d0; $custom-dark: #000000;
JSON
{
"hex": "#904bbb",
"rgb": {
"r": 144,
"g": 75,
"b": 187
},
"hsl": {
"h": 276.964,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.54672,
"c": 0.17574,
"h": 310.3
},
"luminance": 0.14549
}Semantic roles & 50–950 ramp
primary
#904BBB
secondary
#ABCA98
accent
#D55385
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82