#805AB2#805AB2
#805AB2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.137 H 302.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #805AB2 |
|---|---|
| RGB | rgb(128, 90, 178) |
| HSL | hsl(266, 36%, 53%) |
| HSV | hsv(266, 49%, 70%) |
| CMYK | cmyk(28.1%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(45.79, 33.96, -41.26) |
| CIE-LCH | lch(45.79, 53.44, 309.45°) |
| OKLab | oklab(54.67% 0.0725 -0.1159) |
| OKLCH | oklch(54.67% 0.137 302) |
| XYZ | xyz(20.5923, 15.1158, 43.9436) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.05
Royal Purple
#7851A9
ΔE00 3.21
Amethyst
#9B5FC0
ΔE00 6.03
Light Indigo
#6D5ACF
ΔE00 6.97
Slate Blue
#6A5ACD
ΔE00 7.18
Iris
#6258C4
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#805AB2 #8CB25A
analogous
#5A60B2 #805AB2 #AC5AB2
triadic
#805AB2 #B2805A #5AB280
tetradic
#805AB2 #B25A60 #8CB25A #5AB2AC
square
#805AB2 #B25A60 #8CB25A #5AB2AC
split-complementary
#805AB2 #B2AC5A #60B25A
monochromatic
#452E63 #62428D #805AB2 #A084C5 #C0ADD9
Accessibility & contrast
On white
5.22
#805AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#805AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #805AB2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##805AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##805AB2 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#776A7E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #805ab2; /* rgb */ color: rgb(128, 90, 178); /* oklch */ color: oklch(54.7% 0.137 302.0);
Tailwind
colors: {
custom: {
50: '#a789c9',
500: '#805ab2',
950: '#000000',
},
}SCSS
$custom: #805ab2; $custom-light: #a789c9; $custom-dark: #000000;
JSON
{
"hex": "#805ab2",
"rgb": {
"r": 128,
"g": 90,
"b": 178
},
"hsl": {
"h": 265.909,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.54667,
"c": 0.13669,
"h": 302
},
"luminance": 0.15116
}Semantic roles & 50–950 ramp
primary
#805AB2
secondary
#B7C7A1
accent
#CC5B9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82