#905CD9#905CD9
#905CD9 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.185 H 299.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #905CD9 |
|---|---|
| RGB | rgb(144, 92, 217) |
| HSL | hsl(265, 62%, 61%) |
| HSV | hsv(265, 58%, 85%) |
| CMYK | cmyk(33.6%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(50.21, 46.72, -56.60) |
| CIE-LCH | lch(50.21, 73.39, 309.54°) |
| OKLab | oklab(59.06% 0.0924 -0.1604) |
| OKLCH | oklch(59.06% 0.185 299.9) |
| XYZ | xyz(27.8501, 18.5931, 67.7538) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.95
Lightish Purple
#A552E6
ΔE00 4.21
Lighter Purple
#A55AF4
ΔE00 4.99
Amethyst
#9B5FC0
ΔE00 5.50
Mediumpurple
#9370DB
ΔE00 5.71
Deep Lavender
#8D5EB7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CD9 #A5D95C
analogous
#5C66D9 #905CD9 #CE5CD9
triadic
#905CD9 #D9905C #5CD990
tetradic
#905CD9 #D95C66 #A5D95C #5CD9CE
square
#905CD9 #D95C66 #A5D95C #5CD9CE
split-complementary
#905CD9 #D9CE5C #66D95C
monochromatic
#542397 #6F2FC9 #905CD9 #B28EE5 #D4BFF0
Accessibility & contrast
On white
4.45
#905CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#905CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CD9
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CD9 | 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)
#1E77DD
Deuteranopia (green-blind)
#3677D6
Tritanopia (blue-blind)
#817692
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #905cd9; /* rgb */ color: rgb(144, 92, 217); /* oklch */ color: oklch(59.1% 0.185 299.9);
Tailwind
colors: {
custom: {
50: '#b58ce5',
500: '#905cd9',
950: '#000000',
},
}SCSS
$custom: #905cd9; $custom-light: #b58ce5; $custom-dark: #000000;
JSON
{
"hex": "#905cd9",
"rgb": {
"r": 144,
"g": 92,
"b": 217
},
"hsl": {
"h": 264.96,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.59055,
"c": 0.18507,
"h": 299.9
},
"luminance": 0.18593
}Semantic roles & 50–950 ramp
primary
#905CD9
secondary
#CCE0B1
accent
#CA1C81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84