#8A73BE#8A73BE
#8A73BE is a mid, moderate violet. Relative luminance 0.214; OKLCH L 60.8% C 0.113 H 297.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8A73BE |
|---|---|
| RGB | rgb(138, 115, 190) |
| HSL | hsl(258, 37%, 60%) |
| HSV | hsv(258, 39%, 75%) |
| CMYK | cmyk(27.4%, 39.5%, 0%, 25.5%) |
| CIE-LAB | lab(53.37, 25.19, -36.20) |
| CIE-LCH | lch(53.37, 44.10, 304.83°) |
| OKLab | oklab(60.8% 0.0515 -0.101) |
| OKLCH | oklch(60.8% 0.113 297) |
| XYZ | xyz(25.9040, 21.3822, 51.4677) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 7.00
Wisteria
#A87DC2
ΔE00 7.40
Amethyst
#9B5FC0
ΔE00 7.49
Soft Purple
#A66FB5
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A73BE #A7BE73
analogous
#7382BE #8A73BE #AF73BE
triadic
#8A73BE #BE8A73 #73BE8A
tetradic
#8A73BE #BE7382 #A7BE73 #73BEAF
square
#8A73BE #BE7382 #A7BE73 #73BEAF
split-complementary
#8A73BE #BEAF73 #82BE73
monochromatic
#4E3A7D #694DA6 #8A73BE #AD9DD1 #D0C7E5
Accessibility & contrast
On white
3.98
#8A73BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8A73BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A73BE
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A73BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A73BE | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F80C1
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#7F808F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a73be; /* rgb */ color: rgb(138, 115, 190); /* oklch */ color: oklch(60.8% 0.113 297.0);
Tailwind
colors: {
custom: {
50: '#ae9bd2',
500: '#8a73be',
950: '#000000',
},
}SCSS
$custom: #8a73be; $custom-light: #ae9bd2; $custom-dark: #000000;
JSON
{
"hex": "#8a73be",
"rgb": {
"r": 138,
"g": 115,
"b": 190
},
"hsl": {
"h": 258.4,
"s": 36.585,
"l": 59.804
},
"oklch": {
"l": 0.60798,
"c": 0.11337,
"h": 297
},
"luminance": 0.21382
}Semantic roles & 50–950 ramp
primary
#8A73BE
secondary
#CCD5B8
accent
#CD5BAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82