#905BB3#905BB3
#905BB3 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.141 H 310.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #905BB3 |
|---|---|
| RGB | rgb(144, 91, 179) |
| HSL | hsl(276, 37%, 53%) |
| HSV | hsv(276, 49%, 70%) |
| CMYK | cmyk(19.6%, 49.2%, 0%, 29.8%) |
| CIE-LAB | lab(47.84, 38.12, -38.50) |
| CIE-LCH | lch(47.84, 54.17, 314.72°) |
| OKLab | oklab(56.61% 0.0915 -0.1074) |
| OKLCH | oklch(56.61% 0.141 310.4) |
| XYZ | xyz(23.3779, 16.6665, 44.6245) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.44
Amethyst
#9B5FC0
ΔE00 3.12
Royal Purple
#7851A9
ΔE00 5.88
Deep Lilac
#966EBD
ΔE00 6.04
Purply
#983FB2
ΔE00 6.75
Medium Purple
#9E43A2
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905BB3 #7EB35B
analogous
#645BB3 #905BB3 #B35BAA
triadic
#905BB3 #B3905B #5BB390
tetradic
#905BB3 #B3645B #7EB35B #5BAAB3
square
#905BB3 #B3645B #7EB35B #5BAAB3
split-complementary
#905BB3 #AAB35B #5BB364
monochromatic
#4F2F65 #70428F #905BB3 #AC85C6 #C9AFDA
Accessibility & contrast
On white
4.85
#905BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#905BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905BB3
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905BB3 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#8C697F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #905bb3; /* rgb */ color: rgb(144, 91, 179); /* oklch */ color: oklch(56.6% 0.141 310.4);
Tailwind
colors: {
custom: {
50: '#b28bca',
500: '#905bb3',
950: '#000000',
},
}SCSS
$custom: #905bb3; $custom-light: #b28bca; $custom-dark: #000000;
JSON
{
"hex": "#905bb3",
"rgb": {
"r": 144,
"g": 91,
"b": 179
},
"hsl": {
"h": 276.136,
"s": 36.667,
"l": 52.941
},
"oklch": {
"l": 0.56608,
"c": 0.14111,
"h": 310.4
},
"luminance": 0.16666
}Semantic roles & 50–950 ramp
primary
#905BB3
secondary
#B1C8A2
accent
#CD5B88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82