#905CB1#905CB1
#905CB1 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.137 H 310.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #905CB1 |
|---|---|
| RGB | rgb(144, 92, 177) |
| HSL | hsl(277, 35%, 53%) |
| HSV | hsv(277, 48%, 69%) |
| CMYK | cmyk(18.6%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(47.95, 37.10, -37.14) |
| CIE-LCH | lch(47.95, 52.50, 314.96°) |
| OKLab | oklab(56.66% 0.0898 -0.1035) |
| OKLCH | oklch(56.66% 0.137 310.9) |
| XYZ | xyz(23.2631, 16.7583, 43.5956) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.64
Amethyst
#9B5FC0
ΔE00 3.26
Deep Lilac
#966EBD
ΔE00 5.83
Royal Purple
#7851A9
ΔE00 6.08
Purply
#983FB2
ΔE00 7.05
Medium Purple
#9E43A2
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CB1 #7DB15C
analogous
#655CB1 #905CB1 #B15CA7
triadic
#905CB1 #B1905C #5CB190
tetradic
#905CB1 #B1655C #7DB15C #5CA7B1
square
#905CB1 #B1655C #7DB15C #5CA7B1
split-complementary
#905CB1 #A7B15C #5CB165
monochromatic
#4F2F63 #70438D #905CB1 #AC85C5 #C8AFD9
Accessibility & contrast
On white
4.83
#905CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#905CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CB1
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CB1 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486FB4
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#8C697E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905cb1; /* rgb */ color: rgb(144, 92, 177); /* oklch */ color: oklch(56.7% 0.137 310.9);
Tailwind
colors: {
custom: {
50: '#b28bc8',
500: '#905cb1',
950: '#000000',
},
}SCSS
$custom: #905cb1; $custom-light: #b28bc8; $custom-dark: #000000;
JSON
{
"hex": "#905cb1",
"rgb": {
"r": 144,
"g": 92,
"b": 177
},
"hsl": {
"h": 276.706,
"s": 35.27,
"l": 52.745
},
"oklch": {
"l": 0.56662,
"c": 0.13703,
"h": 310.9
},
"luminance": 0.16758
}Semantic roles & 50–950 ramp
primary
#905CB1
secondary
#B0C7A2
accent
#CB5C88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82