#904BCF#904BCF
#904BCF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.198 H 304.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #904BCF |
|---|---|
| RGB | rgb(144, 75, 207) |
| HSL | hsl(271, 58%, 55%) |
| HSV | hsv(271, 64%, 81%) |
| CMYK | cmyk(30.4%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(46.27, 53.15, -57.22) |
| CIE-LCH | lch(46.27, 78.10, 312.89°) |
| OKLab | oklab(55.99% 0.1129 -0.1622) |
| OKLCH | oklch(55.99% 0.198 304.8) |
| XYZ | xyz(25.2777, 15.4666, 60.6731) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Purpley
#8756E4
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 5.55
Purply
#983FB2
ΔE00 5.96
Blueviolet
#8A2BE2
ΔE00 6.11
Deep Lavender
#8D5EB7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904BCF #8ACF4B
analogous
#4E4BCF #904BCF #CF4BCC
triadic
#904BCF #CF904B #4BCF90
tetradic
#904BCF #CF4E4B #8ACF4B #4BCCCF
square
#904BCF #CF4E4B #8ACF4B #4BCCCF
split-complementary
#904BCF #CCCF4B #4BCF4E
monochromatic
#52227E #712EAE #904BCF #AE7BDC #CCACE9
Accessibility & contrast
On white
5.13
#904BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#904BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904BCF
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904BCF | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#856786
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #904bcf; /* rgb */ color: rgb(144, 75, 207); /* oklch */ color: oklch(56.0% 0.198 304.8);
Tailwind
colors: {
custom: {
50: '#b581de',
500: '#904bcf',
950: '#000000',
},
}SCSS
$custom: #904bcf; $custom-light: #b581de; $custom-dark: #000000;
JSON
{
"hex": "#904bcf",
"rgb": {
"r": 144,
"g": 75,
"b": 207
},
"hsl": {
"h": 271.364,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.55985,
"c": 0.19759,
"h": 304.8
},
"luminance": 0.15466
}Semantic roles & 50–950 ramp
primary
#904BCF
secondary
#BAD69F
accent
#E14790
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83