#905CBB#905CBB
#905CBB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.149 H 307.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #905CBB |
|---|---|
| RGB | rgb(144, 92, 187) |
| HSL | hsl(273, 41%, 55%) |
| HSV | hsv(273, 51%, 73%) |
| CMYK | cmyk(23%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(48.48, 39.41, -42.14) |
| CIE-LCH | lch(48.48, 57.70, 313.09°) |
| OKLab | oklab(57.22% 0.091 -0.118) |
| OKLCH | oklch(57.22% 0.149 307.6) |
| XYZ | xyz(24.2966, 17.1717, 49.0386) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.05
Amethyst
#9B5FC0
ΔE00 2.53
Deep Lilac
#966EBD
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 6.16
Purply
#983FB2
ΔE00 7.20
Lightish Purple
#A552E6
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CBB #87BB5C
analogous
#605CBB #905CBB #BB5CB7
triadic
#905CBB #BB905C #5CBB90
tetradic
#905CBB #BB605C #87BB5C #5CB7BB
square
#905CBB #BB605C #87BB5C #5CB7BB
split-complementary
#905CBB #B7BB5C #5CBB60
monochromatic
#512E6F #71409A #905CBB #AD87CD #CBB2DF
Accessibility & contrast
On white
4.74
#905CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#905CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CBB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CBB | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#8A6C83
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #905cbb; /* rgb */ color: rgb(144, 92, 187); /* oklch */ color: oklch(57.2% 0.149 307.6);
Tailwind
colors: {
custom: {
50: '#b38cd0',
500: '#905cbb',
950: '#000000',
},
}SCSS
$custom: #905cbb; $custom-light: #b38cd0; $custom-dark: #000000;
JSON
{
"hex": "#905cbb",
"rgb": {
"r": 144,
"g": 92,
"b": 187
},
"hsl": {
"h": 272.842,
"s": 41.126,
"l": 54.706
},
"oklch": {
"l": 0.5722,
"c": 0.14903,
"h": 307.6
},
"luminance": 0.17171
}Semantic roles & 50–950 ramp
primary
#905CBB
secondary
#B8CDA5
accent
#D1578E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82