#905DBF#905DBF
#905DBF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.152 H 306.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #905DBF |
|---|---|
| RGB | rgb(144, 93, 191) |
| HSL | hsl(271, 43%, 56%) |
| HSV | hsv(271, 51%, 75%) |
| CMYK | cmyk(24.6%, 51.3%, 0%, 25.1%) |
| CIE-LAB | lab(48.91, 39.80, -43.77) |
| CIE-LCH | lch(48.91, 59.16, 312.28°) |
| OKLab | oklab(57.61% 0.09 -0.1228) |
| OKLCH | oklch(57.61% 0.152 306.2) |
| XYZ | xyz(24.8180, 17.5198, 51.3543) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.51
Amethyst
#9B5FC0
ΔE00 2.50
Deep Lilac
#966EBD
ΔE00 5.53
Royal Purple
#7851A9
ΔE00 6.53
Purpley
#8756E4
ΔE00 6.76
Lightish Purple
#A552E6
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905DBF #8CBF5D
analogous
#5F5DBF #905DBF #BF5DBD
triadic
#905DBF #BF905D #5DBF90
tetradic
#905DBF #BF5F5D #8CBF5D #5DBDBF
square
#905DBF #BF5F5D #8CBF5D #5DBDBF
split-complementary
#905DBF #BDBF5D #5DBF5F
monochromatic
#522E74 #713FA0 #905DBF #AE89D0 #CCB5E2
Accessibility & contrast
On white
4.66
#905DBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#905DBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #905DBF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905DBF | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#4F75BD
Tritanopia (blue-blind)
#896E85
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #905dbf; /* rgb */ color: rgb(144, 93, 191); /* oklch */ color: oklch(57.6% 0.152 306.2);
Tailwind
colors: {
custom: {
50: '#b38cd3',
500: '#905dbf',
950: '#000000',
},
}SCSS
$custom: #905dbf; $custom-light: #b38cd3; $custom-dark: #000000;
JSON
{
"hex": "#905dbf",
"rgb": {
"r": 144,
"g": 93,
"b": 191
},
"hsl": {
"h": 271.224,
"s": 43.363,
"l": 55.686
},
"oklch": {
"l": 0.57611,
"c": 0.15224,
"h": 306.2
},
"luminance": 0.1752
}Semantic roles & 50–950 ramp
primary
#905DBF
secondary
#BBD0A8
accent
#D35591
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83