#905CDF#905CDF
#905CDF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.192 H 298.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #905CDF |
|---|---|
| RGB | rgb(144, 92, 223) |
| HSL | hsl(264, 67%, 62%) |
| HSV | hsv(264, 59%, 87%) |
| CMYK | cmyk(35.4%, 58.7%, 0%, 12.5%) |
| CIE-LAB | lab(50.58, 48.23, -59.40) |
| CIE-LCH | lch(50.58, 76.51, 309.08°) |
| OKLab | oklab(59.45% 0.0923 -0.1686) |
| OKLCH | oklch(59.45% 0.192 298.7) |
| XYZ | xyz(28.6447, 18.9110, 71.9388) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.51
Lightish Purple
#A552E6
ΔE00 4.07
Lighter Purple
#A55AF4
ΔE00 4.45
Mediumpurple
#9370DB
ΔE00 5.66
Mediumslateblue
#7B68EE
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CDF #ABDF5C
analogous
#5C6ADF #905CDF #D25CDF
triadic
#905CDF #DF905C #5CDF90
tetradic
#905CDF #DF5C6A #ABDF5C #5CDFD2
square
#905CDF #DF5C6A #ABDF5C #5CDFD2
split-complementary
#905CDF #DFD25C #6ADF5C
monochromatic
#5320A1 #6D2AD4 #905CDF #B38FE9 #D6C2F3
Accessibility & contrast
On white
4.39
#905CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#905CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CDF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CDF | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D78E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#7E7895
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #905cdf; /* rgb */ color: rgb(144, 92, 223); /* oklch */ color: oklch(59.5% 0.192 298.7);
Tailwind
colors: {
custom: {
50: '#b58cea',
500: '#905cdf',
950: '#000000',
},
}SCSS
$custom: #905cdf; $custom-light: #b58cea; $custom-dark: #000000;
JSON
{
"hex": "#905cdf",
"rgb": {
"r": 144,
"g": 92,
"b": 223
},
"hsl": {
"h": 263.817,
"s": 67.179,
"l": 61.765
},
"oklch": {
"l": 0.5945,
"c": 0.19219,
"h": 298.7
},
"luminance": 0.18911
}Semantic roles & 50–950 ramp
primary
#905CDF
secondary
#D0E4B3
accent
#CF1686
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84