#904BCD#904BCD
#904BCD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.195 H 305.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #904BCD |
|---|---|
| RGB | rgb(144, 75, 205) |
| HSL | hsl(272, 57%, 55%) |
| HSV | hsv(272, 63%, 80%) |
| CMYK | cmyk(29.8%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(46.14, 52.68, -56.28) |
| CIE-LCH | lch(46.14, 77.09, 313.11°) |
| OKLab | oklab(55.85% 0.113 -0.1594) |
| OKLCH | oklch(55.85% 0.195 305.3) |
| XYZ | xyz(25.0347, 15.3694, 59.3935) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.50
Purpley
#8756E4
ΔE00 4.97
Purply
#983FB2
ΔE00 5.68
Lightish Purple
#A552E6
ΔE00 5.72
Deep Lavender
#8D5EB7
ΔE00 6.17
Blueviolet
#8A2BE2
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904BCD #88CD4B
analogous
#4F4BCD #904BCD #CD4BC9
triadic
#904BCD #CD904B #4BCD90
tetradic
#904BCD #CD4F4B #88CD4B #4BC9CD
square
#904BCD #CD4F4B #88CD4B #4BC9CD
split-complementary
#904BCD #C9CD4B #4BCD4F
monochromatic
#52227B #7130AB #904BCD #AE7BDA #CBABE8
Accessibility & contrast
On white
5.15
#904BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#904BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904BCD
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904BCD | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#2B6DCA
Tritanopia (blue-blind)
#856685
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #904bcd; /* rgb */ color: rgb(144, 75, 205); /* oklch */ color: oklch(55.8% 0.195 305.3);
Tailwind
colors: {
custom: {
50: '#b581dd',
500: '#904bcd',
950: '#000000',
},
}SCSS
$custom: #904bcd; $custom-light: #b581dd; $custom-dark: #000000;
JSON
{
"hex": "#904bcd",
"rgb": {
"r": 144,
"g": 75,
"b": 205
},
"hsl": {
"h": 271.846,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.55848,
"c": 0.19541,
"h": 305.3
},
"luminance": 0.15369
}Semantic roles & 50–950 ramp
primary
#904BCD
secondary
#B8D59F
accent
#E0488F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83