#905CB7#905CB7
#905CB7 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.144 H 308.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #905CB7 |
|---|---|
| RGB | rgb(144, 92, 183) |
| HSL | hsl(274, 39%, 54%) |
| HSV | hsv(274, 50%, 72%) |
| CMYK | cmyk(21.3%, 49.7%, 0%, 28.2%) |
| CIE-LAB | lab(48.26, 38.48, -40.15) |
| CIE-LCH | lch(48.26, 55.61, 313.78°) |
| OKLab | oklab(56.99% 0.0906 -0.1122) |
| OKLCH | oklch(56.99% 0.144 308.9) |
| XYZ | xyz(23.8743, 17.0028, 46.8147) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 0.88
Amethyst
#9B5FC0
ΔE00 2.68
Deep Lilac
#966EBD
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 6.04
Purply
#983FB2
ΔE00 7.07
Medium Purple
#9E43A2
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CB7 #83B75C
analogous
#635CB7 #905CB7 #B75CB0
triadic
#905CB7 #B7905C #5CB790
tetradic
#905CB7 #B7635C #83B75C #5CB0B7
square
#905CB7 #B7635C #83B75C #5CB0B7
split-complementary
#905CB7 #B0B75C #5CB763
monochromatic
#512F6A #714294 #905CB7 #AD86CA #CAB1DD
Accessibility & contrast
On white
4.77
#905CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#905CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CB7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CB7 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#8B6B81
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #905cb7; /* rgb */ color: rgb(144, 92, 183); /* oklch */ color: oklch(57.0% 0.144 308.9);
Tailwind
colors: {
custom: {
50: '#b28ccd',
500: '#905cb7',
950: '#000000',
},
}SCSS
$custom: #905cb7; $custom-light: #b28ccd; $custom-dark: #000000;
JSON
{
"hex": "#905cb7",
"rgb": {
"r": 144,
"g": 92,
"b": 183
},
"hsl": {
"h": 274.286,
"s": 38.723,
"l": 53.922
},
"oklch": {
"l": 0.56993,
"c": 0.14422,
"h": 308.9
},
"luminance": 0.17002
}Semantic roles & 50–950 ramp
primary
#905CB7
secondary
#B5CBA4
accent
#CF598C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82