#905ED2#905ED2
#905ED2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.174 H 301.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #905ED2 |
|---|---|
| RGB | rgb(144, 94, 210) |
| HSL | hsl(266, 56%, 60%) |
| HSV | hsv(266, 55%, 82%) |
| CMYK | cmyk(31.4%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(50.20, 43.88, -52.62) |
| CIE-LCH | lch(50.20, 68.51, 309.82°) |
| OKLab | oklab(58.91% 0.0898 -0.1487) |
| OKLCH | oklch(58.91% 0.174 301.1) |
| XYZ | xyz(27.1344, 18.5877, 63.1185) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 4.50
Deep Lavender
#8D5EB7
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.40
Lighter Purple
#A55AF4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905ED2 #A0D25E
analogous
#5E66D2 #905ED2 #CA5ED2
triadic
#905ED2 #D2905E #5ED290
tetradic
#905ED2 #D25E66 #A0D25E #5ED2CA
square
#905ED2 #D25E66 #A0D25E #5ED2CA
split-complementary
#905ED2 #D2CA5E #66D25E
monochromatic
#54288E #7035BE #905ED2 #B18EDF #D2BEED
Accessibility & contrast
On white
4.45
#905ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#905ED2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905ED2
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905ED2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905ED2 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#4077CF
Tritanopia (blue-blind)
#83758F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #905ed2; /* rgb */ color: rgb(144, 94, 210); /* oklch */ color: oklch(58.9% 0.174 301.1);
Tailwind
colors: {
custom: {
50: '#b48de0',
500: '#905ed2',
950: '#000000',
},
}SCSS
$custom: #905ed2; $custom-light: #b48de0; $custom-dark: #000000;
JSON
{
"hex": "#905ed2",
"rgb": {
"r": 144,
"g": 94,
"b": 210
},
"hsl": {
"h": 265.862,
"s": 56.311,
"l": 59.608
},
"oklch": {
"l": 0.58915,
"c": 0.17371,
"h": 301.1
},
"luminance": 0.18588
}Semantic roles & 50–950 ramp
primary
#905ED2
secondary
#C9DCAF
accent
#E0489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83