#8A73E4#8A73E4
#8A73E4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.9% C 0.165 H 290.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A73E4 |
|---|---|
| RGB | rgb(138, 115, 228) |
| HSL | hsl(252, 68%, 67%) |
| HSV | hsv(252, 50%, 89%) |
| CMYK | cmyk(39.5%, 49.6%, 0%, 10.6%) |
| CIE-LAB | lab(55.34, 35.21, -54.61) |
| CIE-LCH | lch(55.34, 64.97, 302.81°) |
| OKLab | oklab(62.93% 0.057 -0.1547) |
| OKLCH | oklch(62.93% 0.165 290.2) |
| XYZ | xyz(30.6117, 23.2653, 76.2615) |
| Luminance | 0.2327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.84
Mediumslateblue
#7B68EE
ΔE00 4.39
Periwinkle (survey)
#8E82FE
ΔE00 5.66
Lavender Blue
#8B88F8
ΔE00 6.92
Cornflower
#6A79F7
ΔE00 7.21
Perrywinkle
#8F8CE7
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A73E4 #CDE473
analogous
#7395E4 #8A73E4 #C273E4
triadic
#8A73E4 #E48A73 #73E48A
tetradic
#8A73E4 #E47395 #CDE473 #73E4C2
square
#8A73E4 #E47395 #CDE473 #73E4C2
split-complementary
#8A73E4 #E4C273 #95E473
monochromatic
#4224B9 #5F40DA #8A73E4 #B5A6EE #E0DAF8
Accessibility & contrast
On white
3.71
#8A73E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#8A73E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A73E4
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A73E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A73E4 | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4587E8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#728AA1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a73e4; /* rgb */ color: rgb(138, 115, 228); /* oklch */ color: oklch(62.9% 0.165 290.2);
Tailwind
colors: {
custom: {
50: '#b09bed',
500: '#8a73e4',
950: '#000000',
},
}SCSS
$custom: #8a73e4; $custom-light: #b09bed; $custom-dark: #000000;
JSON
{
"hex": "#8a73e4",
"rgb": {
"r": 138,
"g": 115,
"b": 228
},
"hsl": {
"h": 252.212,
"s": 67.665,
"l": 67.255
},
"oklch": {
"l": 0.62933,
"c": 0.16483,
"h": 290.2
},
"luminance": 0.23266
}Semantic roles & 50–950 ramp
primary
#8A73E4
secondary
#E4EBC8
accent
#D016AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84