#8A53B5#8A53B5
#8A53B5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.155 H 308.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A53B5 |
|---|---|
| RGB | rgb(138, 83, 181) |
| HSL | hsl(274, 40%, 52%) |
| HSV | hsv(274, 54%, 71%) |
| CMYK | cmyk(23.8%, 54.1%, 0%, 29%) |
| CIE-LAB | lab(45.53, 41.36, -43.36) |
| CIE-LCH | lch(45.53, 59.93, 313.65°) |
| OKLab | oklab(54.78% 0.0952 -0.1217) |
| OKLCH | oklch(54.78% 0.155 308) |
| XYZ | xyz(21.9133, 14.9263, 45.4338) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.25
Royal Purple
#7851A9
ΔE00 3.94
Purply
#983FB2
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.15
Medium Purple
#9E43A2
ΔE00 7.01
Darkorchid
#9932CC
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A53B5 #7EB553
analogous
#5953B5 #8A53B5 #B553AF
triadic
#8A53B5 #B58A53 #53B58A
tetradic
#8A53B5 #B55953 #7EB553 #53AFB5
square
#8A53B5 #B55953 #7EB553 #53AFB5
split-complementary
#8A53B5 #AFB553 #53B559
monochromatic
#4A2B63 #6A3D8E #8A53B5 #A77EC7 #C4A9DA
Accessibility & contrast
On white
5.27
#8A53B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8A53B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A53B5
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A53B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A53B5 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#476CB3
Tritanopia (blue-blind)
#84657C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a53b5; /* rgb */ color: rgb(138, 83, 181); /* oklch */ color: oklch(54.8% 0.155 308.0);
Tailwind
colors: {
custom: {
50: '#af85cc',
500: '#8a53b5',
950: '#000000',
},
}SCSS
$custom: #8a53b5; $custom-light: #af85cc; $custom-dark: #000000;
JSON
{
"hex": "#8a53b5",
"rgb": {
"r": 138,
"g": 83,
"b": 181
},
"hsl": {
"h": 273.673,
"s": 39.837,
"l": 51.765
},
"oklch": {
"l": 0.54782,
"c": 0.15454,
"h": 308
},
"luminance": 0.14926
}Semantic roles & 50–950 ramp
primary
#8A53B5
secondary
#AFC79C
accent
#D0588D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82