#904FC8#904FC8
#904FC8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.184 H 306.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #904FC8 |
|---|---|
| RGB | rgb(144, 79, 200) |
| HSL | hsl(272, 52%, 55%) |
| HSV | hsv(272, 61%, 78%) |
| CMYK | cmyk(28%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(46.57, 49.48, -52.71) |
| CIE-LCH | lch(46.57, 72.29, 313.19°) |
| OKLab | oklab(56.06% 0.1085 -0.1489) |
| OKLCH | oklch(56.06% 0.184 306.1) |
| XYZ | xyz(24.7207, 15.6916, 56.3588) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.01
Purpley
#8756E4
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.30
Amethyst
#9B5FC0
ΔE00 5.49
Purply
#983FB2
ΔE00 5.53
Lightish Purple
#A552E6
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904FC8 #87C84F
analogous
#534FC8 #904FC8 #C84FC4
triadic
#904FC8 #C8904F #4FC890
tetradic
#904FC8 #C8534F #87C84F #4FC4C8
square
#904FC8 #C8534F #87C84F #4FC4C8
split-complementary
#904FC8 #C4C84F #4FC853
monochromatic
#512577 #7134A6 #904FC8 #AD7ED7 #CBACE5
Accessibility & contrast
On white
5.07
#904FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#904FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904FC8
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904FC8 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#136CCC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#876784
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #904fc8; /* rgb */ color: rgb(144, 79, 200); /* oklch */ color: oklch(56.1% 0.184 306.1);
Tailwind
colors: {
custom: {
50: '#b483d9',
500: '#904fc8',
950: '#000000',
},
}SCSS
$custom: #904fc8; $custom-light: #b483d9; $custom-dark: #000000;
JSON
{
"hex": "#904fc8",
"rgb": {
"r": 144,
"g": 79,
"b": 200
},
"hsl": {
"h": 272.231,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.5606,
"c": 0.18423,
"h": 306.1
},
"luminance": 0.15691
}Semantic roles & 50–950 ramp
primary
#904FC8
secondary
#B8D3A0
accent
#DC4C8F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83