#904BBF#904BBF
#904BBF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.180 H 309.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #904BBF |
|---|---|
| RGB | rgb(144, 75, 191) |
| HSL | hsl(276, 48%, 52%) |
| HSV | hsv(276, 61%, 75%) |
| CMYK | cmyk(24.6%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(45.25, 49.44, -49.60) |
| CIE-LCH | lch(45.25, 70.03, 314.91°) |
| OKLab | oklab(54.93% 0.1136 -0.1398) |
| OKLCH | oklch(54.93% 0.18 309.1) |
| XYZ | xyz(23.4198, 14.7234, 50.8883) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.84
Darkorchid
#9932CC
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 5.28
Royal Purple
#7851A9
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 6.03
Medium Purple
#9E43A2
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904BBF #7ABF4B
analogous
#564BBF #904BBF #BF4BB4
triadic
#904BBF #BF904B #4BBF90
tetradic
#904BBF #BF564B #7ABF4B #4BB4BF
square
#904BBF #BF564B #7ABF4B #4BB4BF
split-complementary
#904BBF #B4BF4B #4BBF56
monochromatic
#4E266A #703697 #904BBF #AC78CF #C8A5DF
Accessibility & contrast
On white
5.32
#904BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#904BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904BBF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904BBF | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#89617E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #904bbf; /* rgb */ color: rgb(144, 75, 191); /* oklch */ color: oklch(54.9% 0.180 309.1);
Tailwind
colors: {
custom: {
50: '#b481d3',
500: '#904bbf',
950: '#000000',
},
}SCSS
$custom: #904bbf; $custom-light: #b481d3; $custom-dark: #000000;
JSON
{
"hex": "#904bbf",
"rgb": {
"r": 144,
"g": 75,
"b": 191
},
"hsl": {
"h": 275.69,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.54926,
"c": 0.1801,
"h": 309.1
},
"luminance": 0.14723
}Semantic roles & 50–950 ramp
primary
#904BBF
secondary
#AECC9A
accent
#D75187
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83