#905CB2#905CB2
#905CB2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.138 H 310.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #905CB2 |
|---|---|
| RGB | rgb(144, 92, 178) |
| HSL | hsl(276, 36%, 53%) |
| HSV | hsv(276, 48%, 70%) |
| CMYK | cmyk(19.1%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(48.00, 37.33, -37.65) |
| CIE-LCH | lch(48.00, 53.01, 314.75°) |
| OKLab | oklab(56.72% 0.0899 -0.105) |
| OKLCH | oklch(56.72% 0.138 310.6) |
| XYZ | xyz(23.3632, 16.7983, 44.1225) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.47
Amethyst
#9B5FC0
ΔE00 3.14
Deep Lilac
#966EBD
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 6.05
Purply
#983FB2
ΔE00 7.04
Medium Purple
#9E43A2
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CB2 #7EB25C
analogous
#655CB2 #905CB2 #B25CA9
triadic
#905CB2 #B2905C #5CB290
tetradic
#905CB2 #B2655C #7EB25C #5CA9B2
square
#905CB2 #B2655C #7EB25C #5CA9B2
split-complementary
#905CB2 #A9B25C #5CB265
monochromatic
#4F2F64 #70438E #905CB2 #AC86C6 #C9AFD9
Accessibility & contrast
On white
4.82
#905CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#905CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CB2
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CB2 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486FB5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#8C6A7F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905cb2; /* rgb */ color: rgb(144, 92, 178); /* oklch */ color: oklch(56.7% 0.138 310.6);
Tailwind
colors: {
custom: {
50: '#b28bc9',
500: '#905cb2',
950: '#000000',
},
}SCSS
$custom: #905cb2; $custom-light: #b28bc9; $custom-dark: #000000;
JSON
{
"hex": "#905cb2",
"rgb": {
"r": 144,
"g": 92,
"b": 178
},
"hsl": {
"h": 276.279,
"s": 35.833,
"l": 52.941
},
"oklch": {
"l": 0.56716,
"c": 0.13823,
"h": 310.6
},
"luminance": 0.16798
}Semantic roles & 50–950 ramp
primary
#905CB2
secondary
#B1C7A2
accent
#CC5C88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82