#8A3DC0#8A3DC0
#8A3DC0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.5% C 0.199 H 307.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3DC0 |
|---|---|
| RGB | rgb(138, 61, 192) |
| HSL | hsl(275, 52%, 50%) |
| HSV | hsv(275, 68%, 75%) |
| CMYK | cmyk(28.1%, 68.2%, 0%, 24.7%) |
| CIE-LAB | lab(42.07, 55.10, -55.34) |
| CIE-LCH | lch(42.07, 78.10, 314.88°) |
| OKLab | oklab(52.49% 0.122 -0.1567) |
| OKLCH | oklch(52.49% 0.199 307.9) |
| XYZ | xyz(21.6624, 12.5468, 51.1396) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.94
Purply
#983FB2
ΔE00 4.24
Blueviolet
#8A2BE2
ΔE00 5.09
Darkviolet
#9400D3
ΔE00 5.68
Violet (survey)
#9A0EEA
ΔE00 6.40
Royal Purple
#7851A9
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3DC0 #73C03D
analogous
#483DC0 #8A3DC0 #C03DB5
triadic
#8A3DC0 #C08A3D #3DC08A
tetradic
#8A3DC0 #C0483D #73C03D #3DB5C0
square
#8A3DC0 #C0483D #73C03D #3DB5C0
split-complementary
#8A3DC0 #B5C03D #3DC048
monochromatic
#471F63 #692E92 #8A3DC0 #A66AD0 #C299DF
Accessibility & contrast
On white
5.98
#8A3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8A3DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3DC0
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3DC0 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#1F64BD
Tritanopia (blue-blind)
#815A7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a3dc0; /* rgb */ color: rgb(138, 61, 192); /* oklch */ color: oklch(52.5% 0.199 307.9);
Tailwind
colors: {
custom: {
50: '#b078d4',
500: '#8a3dc0',
950: '#000000',
},
}SCSS
$custom: #8a3dc0; $custom-light: #b078d4; $custom-dark: #000000;
JSON
{
"hex": "#8a3dc0",
"rgb": {
"r": 138,
"g": 61,
"b": 192
},
"hsl": {
"h": 275.267,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.52486,
"c": 0.19861,
"h": 307.9
},
"luminance": 0.12547
}Semantic roles & 50–950 ramp
primary
#8A3DC0
secondary
#A7CA8E
accent
#DB4D87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83