#8A73CD#8A73CD
#8A73CD is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.6% C 0.134 H 293.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A73CD |
|---|---|
| RGB | rgb(138, 115, 205) |
| HSL | hsl(255, 47%, 63%) |
| HSV | hsv(255, 44%, 80%) |
| CMYK | cmyk(32.7%, 43.9%, 0%, 19.6%) |
| CIE-LAB | lab(54.10, 29.05, -43.60) |
| CIE-LCH | lch(54.10, 52.39, 303.67°) |
| OKLab | oklab(61.6% 0.0542 -0.1225) |
| OKLCH | oklch(61.6% 0.134 293.9) |
| XYZ | xyz(27.6286, 22.0720, 60.5505) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.99
Deep Lilac
#966EBD
ΔE00 5.12
Mediumslateblue
#7B68EE
ΔE00 7.03
Deep Lavender
#8D5EB7
ΔE00 7.78
Amethyst
#9B5FC0
ΔE00 7.91
Perrywinkle
#8F8CE7
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A73CD #B6CD73
analogous
#7389CD #8A73CD #B773CD
triadic
#8A73CD #CD8A73 #73CD8A
tetradic
#8A73CD #CD7389 #B6CD73 #73CDB7
square
#8A73CD #CD7389 #B6CD73 #73CDB7
split-complementary
#8A73CD #CDB773 #89CD73
monochromatic
#4C3492 #6446BD #8A73CD #B0A0DD #D5CDED
Accessibility & contrast
On white
3.88
#8A73CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#8A73CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A73CD
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A73CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A73CD | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#7B8496
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8a73cd; /* rgb */ color: rgb(138, 115, 205); /* oklch */ color: oklch(61.6% 0.134 293.9);
Tailwind
colors: {
custom: {
50: '#af9bdc',
500: '#8a73cd',
950: '#000000',
},
}SCSS
$custom: #8a73cd; $custom-light: #af9bdc; $custom-dark: #000000;
JSON
{
"hex": "#8a73cd",
"rgb": {
"r": 138,
"g": 115,
"b": 205
},
"hsl": {
"h": 255.333,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.61598,
"c": 0.13394,
"h": 293.9
},
"luminance": 0.22073
}Semantic roles & 50–950 ramp
primary
#8A73CD
secondary
#D6DEBE
accent
#BB2B96
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83