#904FD2#904FD2
#904FD2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.195 H 303.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #904FD2 |
|---|---|
| RGB | rgb(144, 79, 210) |
| HSL | hsl(270, 59%, 57%) |
| HSV | hsv(270, 62%, 82%) |
| CMYK | cmyk(31.4%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(47.20, 51.85, -57.44) |
| CIE-LCH | lch(47.20, 77.38, 312.07°) |
| OKLab | oklab(56.72% 0.1081 -0.1628) |
| OKLCH | oklch(56.72% 0.195 303.6) |
| XYZ | xyz(25.9278, 16.1744, 62.7163) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.84
Lightish Purple
#A552E6
ΔE00 4.85
Darkorchid
#9932CC
ΔE00 5.58
Deep Lavender
#8D5EB7
ΔE00 6.00
Amethyst
#9B5FC0
ΔE00 6.18
Purply
#983FB2
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904FD2 #91D24F
analogous
#4F50D2 #904FD2 #D24FD2
triadic
#904FD2 #D2904F #4FD290
tetradic
#904FD2 #D24F50 #91D24F #4FD2D2
square
#904FD2 #D24F50 #91D24F #4FD2D2
split-complementary
#904FD2 #D2D24F #50D24F
monochromatic
#532285 #712EB5 #904FD2 #AF80DE #CDB0EB
Accessibility & contrast
On white
4.96
#904FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#904FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904FD2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904FD2 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2A70CF
Tritanopia (blue-blind)
#846B89
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #904fd2; /* rgb */ color: rgb(144, 79, 210); /* oklch */ color: oklch(56.7% 0.195 303.6);
Tailwind
colors: {
custom: {
50: '#b584e0',
500: '#904fd2',
950: '#000000',
},
}SCSS
$custom: #904fd2; $custom-light: #b584e0; $custom-dark: #000000;
JSON
{
"hex": "#904fd2",
"rgb": {
"r": 144,
"g": 79,
"b": 210
},
"hsl": {
"h": 269.771,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.56724,
"c": 0.19542,
"h": 303.6
},
"luminance": 0.16174
}Semantic roles & 50–950 ramp
primary
#904FD2
secondary
#BFD9A4
accent
#E24594
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83