#905AB2#905AB2
#905AB2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.142 H 310.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #905AB2 |
|---|---|
| RGB | rgb(144, 90, 178) |
| HSL | hsl(277, 36%, 53%) |
| HSV | hsv(277, 49%, 70%) |
| CMYK | cmyk(19.1%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(47.57, 38.44, -38.34) |
| CIE-LCH | lch(47.57, 54.29, 315.08°) |
| OKLab | oklab(56.39% 0.0928 -0.107) |
| OKLCH | oklch(56.39% 0.142 310.9) |
| XYZ | xyz(23.1922, 16.4564, 44.0655) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.73
Amethyst
#9B5FC0
ΔE00 3.34
Royal Purple
#7851A9
ΔE00 5.75
Deep Lilac
#966EBD
ΔE00 6.35
Purply
#983FB2
ΔE00 6.47
Medium Purple
#9E43A2
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905AB2 #7CB25A
analogous
#645AB2 #905AB2 #B25AA8
triadic
#905AB2 #B2905A #5AB290
tetradic
#905AB2 #B2645A #7CB25A #5AA8B2
square
#905AB2 #B2645A #7CB25A #5AA8B2
split-complementary
#905AB2 #A8B25A #5AB264
monochromatic
#4F2E63 #70428D #905AB2 #AC84C5 #C8ADD9
Accessibility & contrast
On white
4.89
#905AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#905AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905AB2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905AB2 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#8C687E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #905ab2; /* rgb */ color: rgb(144, 90, 178); /* oklch */ color: oklch(56.4% 0.142 310.9);
Tailwind
colors: {
custom: {
50: '#b28ac9',
500: '#905ab2',
950: '#000000',
},
}SCSS
$custom: #905ab2; $custom-light: #b28ac9; $custom-dark: #000000;
JSON
{
"hex": "#905ab2",
"rgb": {
"r": 144,
"g": 90,
"b": 178
},
"hsl": {
"h": 276.818,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.56391,
"c": 0.14161,
"h": 310.9
},
"luminance": 0.16456
}Semantic roles & 50–950 ramp
primary
#905AB2
secondary
#B0C7A1
accent
#CC5B87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82