#8A5BBE#8A5BBE
#8A5BBE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.153 H 303.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BBE |
|---|---|
| RGB | rgb(138, 91, 190) |
| HSL | hsl(268, 43%, 55%) |
| HSV | hsv(268, 52%, 75%) |
| CMYK | cmyk(27.4%, 52.1%, 0%, 25.5%) |
| CIE-LAB | lab(47.76, 39.07, -45.06) |
| CIE-LCH | lch(47.76, 59.64, 310.93°) |
| OKLab | oklab(56.59% 0.085 -0.1267) |
| OKLCH | oklch(56.59% 0.153 303.8) |
| XYZ | xyz(23.5145, 16.6032, 50.6712) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.96
Amethyst
#9B5FC0
ΔE00 3.93
Royal Purple
#7851A9
ΔE00 5.35
Purpley
#8756E4
ΔE00 6.26
Deep Lilac
#966EBD
ΔE00 6.59
Light Indigo
#6D5ACF
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BBE #8FBE5B
analogous
#5B5EBE #8A5BBE #BB5BBE
triadic
#8A5BBE #BE8A5B #5BBE8A
tetradic
#8A5BBE #BE5B5E #8FBE5B #5BBEBB
square
#8A5BBE #BE5B5E #8FBE5B #5BBEBB
split-complementary
#8A5BBE #BEBB5B #5EBE5B
monochromatic
#4E2D72 #6C3E9D #8A5BBE #A987CF #C9B3E1
Accessibility & contrast
On white
4.86
#8A5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#8A5BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BBE
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BBE | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#816D84
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a5bbe; /* rgb */ color: rgb(138, 91, 190); /* oklch */ color: oklch(56.6% 0.153 303.8);
Tailwind
colors: {
custom: {
50: '#af8bd2',
500: '#8a5bbe',
950: '#000000',
},
}SCSS
$custom: #8a5bbe; $custom-light: #af8bd2; $custom-dark: #000000;
JSON
{
"hex": "#8a5bbe",
"rgb": {
"r": 138,
"g": 91,
"b": 190
},
"hsl": {
"h": 268.485,
"s": 43.231,
"l": 55.098
},
"oklch": {
"l": 0.56589,
"c": 0.1526,
"h": 303.8
},
"luminance": 0.16603
}Semantic roles & 50–950 ramp
primary
#8A5BBE
secondary
#BBCFA6
accent
#D35597
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82