#905CE2#905CE2
#905CE2 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.196 H 298.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #905CE2 |
|---|---|
| RGB | rgb(144, 92, 226) |
| HSL | hsl(263, 70%, 62%) |
| HSV | hsv(263, 59%, 89%) |
| CMYK | cmyk(36.3%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(50.77, 48.99, -60.78) |
| CIE-LCH | lch(50.77, 78.07, 308.87°) |
| OKLab | oklab(59.65% 0.0922 -0.1727) |
| OKLCH | oklch(59.65% 0.196 298.1) |
| XYZ | xyz(29.0528, 19.0742, 74.0878) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.41
Lightish Purple
#A552E6
ΔE00 4.08
Lighter Purple
#A55AF4
ΔE00 4.22
Mediumslateblue
#7B68EE
ΔE00 5.61
Mediumpurple
#9370DB
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CE2 #AEE25C
analogous
#5C6BE2 #905CE2 #D35CE2
triadic
#905CE2 #E2905C #5CE290
tetradic
#905CE2 #E25C6B #AEE25C #5CE2D3
square
#905CE2 #E25C6B #AEE25C #5CE2D3
split-complementary
#905CE2 #E2D35C #6BE25C
monochromatic
#531EA6 #6D28D9 #905CE2 #B390EB #D7C4F4
Accessibility & contrast
On white
4.36
#905CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#905CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CE2
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CE2 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#2878DF
Tritanopia (blue-blind)
#7D7996
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #905ce2; /* rgb */ color: rgb(144, 92, 226); /* oklch */ color: oklch(59.7% 0.196 298.1);
Tailwind
colors: {
custom: {
50: '#b58cec',
500: '#905ce2',
950: '#000000',
},
}SCSS
$custom: #905ce2; $custom-light: #b58cec; $custom-dark: #000000;
JSON
{
"hex": "#905ce2",
"rgb": {
"r": 144,
"g": 92,
"b": 226
},
"hsl": {
"h": 263.284,
"s": 69.792,
"l": 62.353
},
"oklch": {
"l": 0.59651,
"c": 0.19575,
"h": 298.1
},
"luminance": 0.19075
}Semantic roles & 50–950 ramp
primary
#905CE2
secondary
#D2E5B4
accent
#D21488
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84