#905CE3#905CE3
#905CE3 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.197 H 297.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #905CE3 |
|---|---|
| RGB | rgb(144, 92, 227) |
| HSL | hsl(263, 71%, 63%) |
| HSV | hsv(263, 59%, 89%) |
| CMYK | cmyk(36.6%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(50.84, 49.25, -61.24) |
| CIE-LCH | lch(50.84, 78.59, 308.80°) |
| OKLab | oklab(59.72% 0.0922 -0.174) |
| OKLCH | oklch(59.72% 0.197 297.9) |
| XYZ | xyz(29.1904, 19.1292, 74.8126) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.40
Lightish Purple
#A552E6
ΔE00 4.09
Lighter Purple
#A55AF4
ΔE00 4.16
Mediumslateblue
#7B68EE
ΔE00 5.53
Mediumpurple
#9370DB
ΔE00 5.70
Amethyst
#9B5FC0
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CE3 #AFE35C
analogous
#5C6BE3 #905CE3 #D45CE3
triadic
#905CE3 #E3905C #5CE390
tetradic
#905CE3 #E35C6B #AFE35C #5CE3D4
square
#905CE3 #E35C6B #AFE35C #5CE3D4
split-complementary
#905CE3 #E3D45C #6BE35C
monochromatic
#521DA8 #6C28DA #905CE3 #B490EC #D7C4F5
Accessibility & contrast
On white
4.35
#905CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#905CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CE3
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CE3 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#2678E0
Tritanopia (blue-blind)
#7D7997
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #905ce3; /* rgb */ color: rgb(144, 92, 227); /* oklch */ color: oklch(59.7% 0.197 297.9);
Tailwind
colors: {
custom: {
50: '#b58ced',
500: '#905ce3',
950: '#000000',
},
}SCSS
$custom: #905ce3; $custom-light: #b58ced; $custom-dark: #000000;
JSON
{
"hex": "#905ce3",
"rgb": {
"r": 144,
"g": 92,
"b": 227
},
"hsl": {
"h": 263.111,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.59718,
"c": 0.19693,
"h": 297.9
},
"luminance": 0.1913
}Semantic roles & 50–950 ramp
primary
#905CE3
secondary
#D3E6B5
accent
#D31389
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84