#905CB5#905CB5
#905CB5 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.142 H 309.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #905CB5 |
|---|---|
| RGB | rgb(144, 92, 181) |
| HSL | hsl(275, 38%, 54%) |
| HSV | hsv(275, 49%, 71%) |
| CMYK | cmyk(20.4%, 49.2%, 0%, 29%) |
| CIE-LAB | lab(48.16, 38.02, -39.15) |
| CIE-LCH | lch(48.16, 54.57, 314.16°) |
| OKLab | oklab(56.88% 0.0903 -0.1093) |
| OKLCH | oklch(56.88% 0.142 309.6) |
| XYZ | xyz(23.6677, 16.9201, 45.7262) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.04
Amethyst
#9B5FC0
ΔE00 2.83
Deep Lilac
#966EBD
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 6.03
Purply
#983FB2
ΔE00 7.04
Medium Purple
#9E43A2
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CB5 #81B55C
analogous
#635CB5 #905CB5 #B55CAD
triadic
#905CB5 #B5905C #5CB590
tetradic
#905CB5 #B5635C #81B55C #5CADB5
square
#905CB5 #B5635C #81B55C #5CADB5
split-complementary
#905CB5 #ADB55C #5CB563
monochromatic
#502F68 #714292 #905CB5 #AD86C8 #C9B0DB
Accessibility & contrast
On white
4.79
#905CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#905CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CB5
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CB5 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#8B6B80
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905cb5; /* rgb */ color: rgb(144, 92, 181); /* oklch */ color: oklch(56.9% 0.142 309.6);
Tailwind
colors: {
custom: {
50: '#b28bcb',
500: '#905cb5',
950: '#000000',
},
}SCSS
$custom: #905cb5; $custom-light: #b28bcb; $custom-dark: #000000;
JSON
{
"hex": "#905cb5",
"rgb": {
"r": 144,
"g": 92,
"b": 181
},
"hsl": {
"h": 275.056,
"s": 37.553,
"l": 53.529
},
"oklch": {
"l": 0.56882,
"c": 0.14183,
"h": 309.6
},
"luminance": 0.1692
}Semantic roles & 50–950 ramp
primary
#905CB5
secondary
#B3C9A3
accent
#CE5A8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82