#8A3DC1#8A3DC1
#8A3DC1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.6% C 0.200 H 307.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3DC1 |
|---|---|
| RGB | rgb(138, 61, 193) |
| HSL | hsl(275, 52%, 50%) |
| HSV | hsv(275, 68%, 76%) |
| CMYK | cmyk(28.5%, 68.4%, 0%, 24.3%) |
| CIE-LAB | lab(42.14, 55.33, -55.81) |
| CIE-LCH | lch(42.14, 78.59, 314.75°) |
| OKLab | oklab(52.56% 0.1219 -0.1581) |
| OKLCH | oklch(52.56% 0.2 307.6) |
| XYZ | xyz(21.7736, 12.5913, 51.7251) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.89
Purply
#983FB2
ΔE00 4.35
Blueviolet
#8A2BE2
ΔE00 4.96
Darkviolet
#9400D3
ΔE00 5.63
Violet (survey)
#9A0EEA
ΔE00 6.29
Royal Purple
#7851A9
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3DC1 #74C13D
analogous
#483DC1 #8A3DC1 #C13DB6
triadic
#8A3DC1 #C18A3D #3DC18A
tetradic
#8A3DC1 #C1483D #74C13D #3DB6C1
square
#8A3DC1 #C1483D #74C13D #3DB6C1
split-complementary
#8A3DC1 #B6C13D #3DC148
monochromatic
#472064 #692E92 #8A3DC1 #A66BD0 #C299DF
Accessibility & contrast
On white
5.97
#8A3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#8A3DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3DC1
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3DC1 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#1D64BE
Tritanopia (blue-blind)
#815A7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a3dc1; /* rgb */ color: rgb(138, 61, 193); /* oklch */ color: oklch(52.6% 0.200 307.6);
Tailwind
colors: {
custom: {
50: '#b178d4',
500: '#8a3dc1',
950: '#000000',
},
}SCSS
$custom: #8a3dc1; $custom-light: #b178d4; $custom-dark: #000000;
JSON
{
"hex": "#8a3dc1",
"rgb": {
"r": 138,
"g": 61,
"b": 193
},
"hsl": {
"h": 275,
"s": 51.969,
"l": 49.804
},
"oklch": {
"l": 0.52557,
"c": 0.19964,
"h": 307.6
},
"luminance": 0.12591
}Semantic roles & 50–950 ramp
primary
#8A3DC1
secondary
#A8CB8F
accent
#DB4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83