#8A5BBD#8A5BBD
#8A5BBD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.5% C 0.151 H 304.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5BBD |
|---|---|
| RGB | rgb(138, 91, 189) |
| HSL | hsl(269, 43%, 55%) |
| HSV | hsv(269, 52%, 74%) |
| CMYK | cmyk(27%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(47.70, 38.83, -44.57) |
| CIE-LCH | lch(47.70, 59.11, 311.06°) |
| OKLab | oklab(56.53% 0.0849 -0.1253) |
| OKLCH | oklch(56.53% 0.151 304.1) |
| XYZ | xyz(23.4056, 16.5596, 50.0975) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.81
Amethyst
#9B5FC0
ΔE00 3.90
Royal Purple
#7851A9
ΔE00 5.26
Purpley
#8756E4
ΔE00 6.44
Deep Lilac
#966EBD
ΔE00 6.56
Light Indigo
#6D5ACF
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5BBD #8EBD5B
analogous
#5B5DBD #8A5BBD #BB5BBD
triadic
#8A5BBD #BD8A5B #5BBD8A
tetradic
#8A5BBD #BD5B5D #8EBD5B #5BBDBB
square
#8A5BBD #BD5B5D #8EBD5B #5BBDBB
split-complementary
#8A5BBD #BDBB5B #5DBD5B
monochromatic
#4D2D70 #6B3F9C #8A5BBD #A987CF #C8B2E0
Accessibility & contrast
On white
4.87
#8A5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#8A5BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5BBD
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5BBD | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#816D83
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8a5bbd; /* rgb */ color: rgb(138, 91, 189); /* oklch */ color: oklch(56.5% 0.151 304.1);
Tailwind
colors: {
custom: {
50: '#af8bd1',
500: '#8a5bbd',
950: '#000000',
},
}SCSS
$custom: #8a5bbd; $custom-light: #af8bd1; $custom-dark: #000000;
JSON
{
"hex": "#8a5bbd",
"rgb": {
"r": 138,
"g": 91,
"b": 189
},
"hsl": {
"h": 268.776,
"s": 42.609,
"l": 54.902
},
"oklch": {
"l": 0.56529,
"c": 0.15136,
"h": 304.1
},
"luminance": 0.1656
}Semantic roles & 50–950 ramp
primary
#8A5BBD
secondary
#BBCFA5
accent
#D25596
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82