#905CD3#905CD3
#905CD3 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.178 H 301.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #905CD3 |
|---|---|
| RGB | rgb(144, 92, 211) |
| HSL | hsl(266, 57%, 59%) |
| HSV | hsv(266, 56%, 83%) |
| CMYK | cmyk(31.8%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(49.84, 45.22, -53.77) |
| CIE-LCH | lch(49.84, 70.26, 310.07°) |
| OKLab | oklab(58.67% 0.0923 -0.1521) |
| OKLCH | oklch(58.67% 0.178 301.3) |
| XYZ | xyz(27.0839, 18.2866, 63.7182) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.61
Lightish Purple
#A552E6
ΔE00 4.53
Amethyst
#9B5FC0
ΔE00 4.71
Deep Lavender
#8D5EB7
ΔE00 4.89
Lighter Purple
#A55AF4
ΔE00 5.64
Mediumpurple
#9370DB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CD3 #9FD35C
analogous
#5C64D3 #905CD3 #CB5CD3
triadic
#905CD3 #D3905C #5CD390
tetradic
#905CD3 #D35C64 #9FD35C #5CD3CB
square
#905CD3 #D35C64 #9FD35C #5CD3CB
split-complementary
#905CD3 #D3CB5C #64D35C
monochromatic
#54268E #7033BE #905CD3 #B18CE0 #D2BCED
Accessibility & contrast
On white
4.51
#905CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#905CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CD3
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CD3 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2876D7
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#83748F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #905cd3; /* rgb */ color: rgb(144, 92, 211); /* oklch */ color: oklch(58.7% 0.178 301.3);
Tailwind
colors: {
custom: {
50: '#b48ce1',
500: '#905cd3',
950: '#000000',
},
}SCSS
$custom: #905cd3; $custom-light: #b48ce1; $custom-dark: #000000;
JSON
{
"hex": "#905cd3",
"rgb": {
"r": 144,
"g": 92,
"b": 211
},
"hsl": {
"h": 266.218,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.5867,
"c": 0.1779,
"h": 301.3
},
"luminance": 0.18287
}Semantic roles & 50–950 ramp
primary
#905CD3
secondary
#C8DDAE
accent
#E1479E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83