#905DC9#905DC9
#905DC9 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.164 H 303.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #905DC9 |
|---|---|
| RGB | rgb(144, 93, 201) |
| HSL | hsl(268, 50%, 58%) |
| HSV | hsv(268, 54%, 79%) |
| CMYK | cmyk(28.4%, 53.7%, 0%, 21.2%) |
| CIE-LAB | lab(49.47, 42.21, -48.65) |
| CIE-LCH | lch(49.47, 64.41, 310.95°) |
| OKLab | oklab(58.2% 0.0907 -0.137) |
| OKLCH | oklch(58.2% 0.164 303.5) |
| XYZ | xyz(25.9562, 17.9751, 57.3491) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.22
Amethyst
#9B5FC0
ΔE00 3.39
Purpley
#8756E4
ΔE00 5.12
Lightish Purple
#A552E6
ΔE00 5.51
Deep Lilac
#966EBD
ΔE00 6.15
Mediumpurple
#9370DB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905DC9 #96C95D
analogous
#5D60C9 #905DC9 #C65DC9
triadic
#905DC9 #C9905D #5DC990
tetradic
#905DC9 #C95D60 #96C95D #5DC9C6
square
#905DC9 #C95D60 #96C95D #5DC9C6
split-complementary
#905DC9 #C9C65D #60C95D
monochromatic
#532B81 #713AAF #905DC9 #AF8BD8 #CFB9E8
Accessibility & contrast
On white
4.57
#905DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#905DC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905DC9
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905DC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905DC9 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3774CD
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#86718A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #905dc9; /* rgb */ color: rgb(144, 93, 201); /* oklch */ color: oklch(58.2% 0.164 303.5);
Tailwind
colors: {
custom: {
50: '#b38cda',
500: '#905dc9',
950: '#000000',
},
}SCSS
$custom: #905dc9; $custom-light: #b38cda; $custom-dark: #000000;
JSON
{
"hex": "#905dc9",
"rgb": {
"r": 144,
"g": 93,
"b": 201
},
"hsl": {
"h": 268.333,
"s": 50,
"l": 57.647
},
"oklch": {
"l": 0.58204,
"c": 0.16434,
"h": 303.5
},
"luminance": 0.17975
}Semantic roles & 50–950 ramp
primary
#905DC9
secondary
#C2D7AB
accent
#DA4E98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83