#905CB4#905CB4
#905CB4 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.141 H 309.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #905CB4 |
|---|---|
| RGB | rgb(144, 92, 180) |
| HSL | hsl(275, 37%, 53%) |
| HSV | hsv(275, 49%, 71%) |
| CMYK | cmyk(20%, 48.9%, 0%, 29.4%) |
| CIE-LAB | lab(48.11, 37.78, -38.65) |
| CIE-LCH | lch(48.11, 54.05, 314.35°) |
| OKLab | oklab(56.83% 0.0902 -0.1079) |
| OKLCH | oklch(56.83% 0.141 309.9) |
| XYZ | xyz(23.5654, 16.8793, 45.1878) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.16
Amethyst
#9B5FC0
ΔE00 2.92
Deep Lilac
#966EBD
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.03
Purply
#983FB2
ΔE00 7.04
Medium Purple
#9E43A2
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CB4 #80B45C
analogous
#645CB4 #905CB4 #B45CAC
triadic
#905CB4 #B4905C #5CB490
tetradic
#905CB4 #B4645C #80B45C #5CACB4
square
#905CB4 #B4645C #80B45C #5CACB4
split-complementary
#905CB4 #ACB45C #5CB464
monochromatic
#502F66 #704290 #905CB4 #AD86C7 #C9B0DB
Accessibility & contrast
On white
4.80
#905CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#905CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CB4
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CB4 | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4670B7
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#8C6A7F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905cb4; /* rgb */ color: rgb(144, 92, 180); /* oklch */ color: oklch(56.8% 0.141 309.9);
Tailwind
colors: {
custom: {
50: '#b28bcb',
500: '#905cb4',
950: '#000000',
},
}SCSS
$custom: #905cb4; $custom-light: #b28bcb; $custom-dark: #000000;
JSON
{
"hex": "#905cb4",
"rgb": {
"r": 144,
"g": 92,
"b": 180
},
"hsl": {
"h": 275.455,
"s": 36.975,
"l": 53.333
},
"oklch": {
"l": 0.56826,
"c": 0.14062,
"h": 309.9
},
"luminance": 0.16879
}Semantic roles & 50–950 ramp
primary
#905CB4
secondary
#B2C9A3
accent
#CD5B8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82