#905CDC#905CDC
#905CDC is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.189 H 299.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #905CDC |
|---|---|
| RGB | rgb(144, 92, 220) |
| HSL | hsl(264, 65%, 61%) |
| HSV | hsv(264, 58%, 86%) |
| CMYK | cmyk(34.5%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(50.39, 47.47, -58.00) |
| CIE-LCH | lch(50.39, 74.95, 309.30°) |
| OKLab | oklab(59.25% 0.0924 -0.1645) |
| OKLCH | oklch(59.25% 0.189 299.3) |
| XYZ | xyz(28.2439, 18.7506, 69.8275) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.69
Lightish Purple
#A552E6
ΔE00 4.12
Lighter Purple
#A55AF4
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 5.90
Mediumslateblue
#7B68EE
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CDC #A8DC5C
analogous
#5C68DC #905CDC #D05CDC
triadic
#905CDC #DC905C #5CDC90
tetradic
#905CDC #DC5C68 #A8DC5C #5CDCD0
square
#905CDC #DC5C68 #A8DC5C #5CDCD0
split-complementary
#905CDC #DCD05C #68DC5C
monochromatic
#53229C #6E2CCE #905CDC #B28EE7 #D5C1F2
Accessibility & contrast
On white
4.42
#905CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#905CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CDC
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CDC | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#7F7793
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #905cdc; /* rgb */ color: rgb(144, 92, 220); /* oklch */ color: oklch(59.3% 0.189 299.3);
Tailwind
colors: {
custom: {
50: '#b58ce8',
500: '#905cdc',
950: '#000000',
},
}SCSS
$custom: #905cdc; $custom-light: #b58ce8; $custom-dark: #000000;
JSON
{
"hex": "#905cdc",
"rgb": {
"r": 144,
"g": 92,
"b": 220
},
"hsl": {
"h": 264.375,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.59252,
"c": 0.18863,
"h": 299.3
},
"luminance": 0.18751
}Semantic roles & 50–950 ramp
primary
#905CDC
secondary
#CEE2B2
accent
#CC1984
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84