#8A3EC0#8A3EC0
#8A3EC0 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.197 H 307.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3EC0 |
|---|---|
| RGB | rgb(138, 62, 192) |
| HSL | hsl(275, 51%, 50%) |
| HSV | hsv(275, 68%, 75%) |
| CMYK | cmyk(28.1%, 67.7%, 0%, 24.7%) |
| CIE-LAB | lab(42.24, 54.64, -55.07) |
| CIE-LCH | lch(42.24, 77.58, 314.78°) |
| OKLab | oklab(52.61% 0.1209 -0.156) |
| OKLCH | oklch(52.61% 0.197 307.8) |
| XYZ | xyz(21.7163, 12.6546, 51.1575) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.00
Purply
#983FB2
ΔE00 4.20
Blueviolet
#8A2BE2
ΔE00 5.18
Darkviolet
#9400D3
ΔE00 5.85
Royal Purple
#7851A9
ΔE00 6.39
Violet (survey)
#9A0EEA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3EC0 #74C03E
analogous
#493EC0 #8A3EC0 #C03EB5
triadic
#8A3EC0 #C08A3E #3EC08A
tetradic
#8A3EC0 #C0493E #74C03E #3EB5C0
square
#8A3EC0 #C0493E #74C03E #3EB5C0
split-complementary
#8A3EC0 #B5C03E #3EC049
monochromatic
#472063 #692F92 #8A3EC0 #A66CCF #C29ADE
Accessibility & contrast
On white
5.95
#8A3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8A3EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3EC0
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3EC0 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2064BD
Tritanopia (blue-blind)
#815A7A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8a3ec0; /* rgb */ color: rgb(138, 62, 192); /* oklch */ color: oklch(52.6% 0.197 307.8);
Tailwind
colors: {
custom: {
50: '#b079d4',
500: '#8a3ec0',
950: '#000000',
},
}SCSS
$custom: #8a3ec0; $custom-light: #b079d4; $custom-dark: #000000;
JSON
{
"hex": "#8a3ec0",
"rgb": {
"r": 138,
"g": 62,
"b": 192
},
"hsl": {
"h": 275.077,
"s": 51.181,
"l": 49.804
},
"oklch": {
"l": 0.52605,
"c": 0.19733,
"h": 307.8
},
"luminance": 0.12654
}Semantic roles & 50–950 ramp
primary
#8A3EC0
secondary
#A8CA8F
accent
#DB4D88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83