#8A73B2#8A73B2
#8A73B2 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.2% C 0.097 H 300.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A73B2 |
|---|---|
| RGB | rgb(138, 115, 178) |
| HSL | hsl(262, 29%, 57%) |
| HSV | hsv(262, 35%, 70%) |
| CMYK | cmyk(22.5%, 35.4%, 0%, 30.2%) |
| CIE-LAB | lab(52.82, 22.22, -30.15) |
| CIE-LCH | lch(52.82, 37.45, 306.38°) |
| OKLab | oklab(60.2% 0.0488 -0.0835) |
| OKLCH | oklch(60.2% 0.097 300.3) |
| XYZ | xyz(24.6461, 20.8790, 44.8425) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.00
Dark Lavender
#856798
ΔE00 6.46
Dark Lilac
#9C6DA5
ΔE00 6.74
Soft Purple
#A66FB5
ΔE00 7.03
Wisteria
#A87DC2
ΔE00 7.04
Faded Purple
#916E99
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A73B2 #9BB273
analogous
#737CB2 #8A73B2 #AA73B2
triadic
#8A73B2 #B28A73 #73B28A
tetradic
#8A73B2 #B2737C #9BB273 #73B2AA
square
#8A73B2 #B2737C #9BB273 #73B2AA
split-complementary
#8A73B2 #B2AA73 #7CB273
monochromatic
#4F3D6E #6B5296 #8A73B2 #AB9AC8 #CCC2DD
Accessibility & contrast
On white
4.06
#8A73B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8A73B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A73B2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A73B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A73B2 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#687EB0
Tritanopia (blue-blind)
#837D8A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a73b2; /* rgb */ color: rgb(138, 115, 178); /* oklch */ color: oklch(60.2% 0.097 300.3);
Tailwind
colors: {
custom: {
50: '#ad9bc9',
500: '#8a73b2',
950: '#000000',
},
}SCSS
$custom: #8a73b2; $custom-light: #ad9bc9; $custom-dark: #000000;
JSON
{
"hex": "#8a73b2",
"rgb": {
"r": 138,
"g": 115,
"b": 178
},
"hsl": {
"h": 261.905,
"s": 29.032,
"l": 57.451
},
"oklch": {
"l": 0.60201,
"c": 0.09678,
"h": 300.3
},
"luminance": 0.20879
}Semantic roles & 50–950 ramp
primary
#8A73B2
secondary
#C4CDB4
accent
#C562A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82