#905BB7#905BB7
#905BB7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.146 H 309.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #905BB7 |
|---|---|
| RGB | rgb(144, 91, 183) |
| HSL | hsl(275, 39%, 54%) |
| HSV | hsv(275, 50%, 72%) |
| CMYK | cmyk(21.3%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(48.05, 39.04, -40.50) |
| CIE-LCH | lch(48.05, 56.25, 313.95°) |
| OKLab | oklab(56.83% 0.092 -0.1132) |
| OKLCH | oklch(56.83% 0.146 309.1) |
| XYZ | xyz(23.7883, 16.8307, 46.7860) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.09
Amethyst
#9B5FC0
ΔE00 2.79
Royal Purple
#7851A9
ΔE00 5.89
Deep Lilac
#966EBD
ΔE00 5.96
Purply
#983FB2
ΔE00 6.79
Medium Purple
#9E43A2
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905BB7 #82B75B
analogous
#625BB7 #905BB7 #B75BB0
triadic
#905BB7 #B7905B #5BB790
tetradic
#905BB7 #B7625B #82B75B #5BB0B7
square
#905BB7 #B7625B #82B75B #5BB0B7
split-complementary
#905BB7 #B0B75B #5BB762
monochromatic
#502E69 #714194 #905BB7 #AD86CA #CAB0DC
Accessibility & contrast
On white
4.81
#905BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#905BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905BB7
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905BB7 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#8B6A80
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905bb7; /* rgb */ color: rgb(144, 91, 183); /* oklch */ color: oklch(56.8% 0.146 309.1);
Tailwind
colors: {
custom: {
50: '#b38bcd',
500: '#905bb7',
950: '#000000',
},
}SCSS
$custom: #905bb7; $custom-light: #b38bcd; $custom-dark: #000000;
JSON
{
"hex": "#905bb7",
"rgb": {
"r": 144,
"g": 91,
"b": 183
},
"hsl": {
"h": 274.565,
"s": 38.983,
"l": 53.725
},
"oklch": {
"l": 0.56831,
"c": 0.14588,
"h": 309.1
},
"luminance": 0.1683
}Semantic roles & 50–950 ramp
primary
#905BB7
secondary
#B4CBA3
accent
#CF598B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82