#8A3CD1#8A3CD1
#8A3CD1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.217 H 303.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3CD1 |
|---|---|
| RGB | rgb(138, 60, 209) |
| HSL | hsl(271, 62%, 53%) |
| HSV | hsv(271, 71%, 82%) |
| CMYK | cmyk(34%, 71.3%, 0%, 18%) |
| CIE-LAB | lab(43.12, 59.45, -63.50) |
| CIE-LCH | lch(43.12, 86.98, 313.11°) |
| OKLab | oklab(53.61% 0.1206 -0.1807) |
| OKLCH | oklch(53.61% 0.217 303.7) |
| XYZ | xyz(23.6031, 13.2385, 61.6211) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.03
Blueviolet
#8A2BE2
ΔE00 3.04
Violet (survey)
#9A0EEA
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 5.29
Darkviolet
#9400D3
ΔE00 5.34
Vivid Purple
#9900FA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3CD1 #83D13C
analogous
#3F3CD1 #8A3CD1 #D13CCE
triadic
#8A3CD1 #D18A3C #3CD18A
tetradic
#8A3CD1 #D13F3C #83D13C #3CCED1
square
#8A3CD1 #D13F3C #83D13C #3CCED1
split-complementary
#8A3CD1 #CED13C #3CD13F
monochromatic
#4B1C77 #6B28A8 #8A3CD1 #A86EDD #C59FE8
Accessibility & contrast
On white
5.76
#8A3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#8A3CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3CD1
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3CD1 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#7C6083
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a3cd1; /* rgb */ color: rgb(138, 60, 209); /* oklch */ color: oklch(53.6% 0.217 303.7);
Tailwind
colors: {
custom: {
50: '#b278e0',
500: '#8a3cd1',
950: '#000000',
},
}SCSS
$custom: #8a3cd1; $custom-light: #b278e0; $custom-dark: #000000;
JSON
{
"hex": "#8a3cd1",
"rgb": {
"r": 138,
"g": 60,
"b": 209
},
"hsl": {
"h": 271.409,
"s": 61.826,
"l": 52.745
},
"oklch": {
"l": 0.53614,
"c": 0.21726,
"h": 303.7
},
"luminance": 0.13238
}Semantic roles & 50–950 ramp
primary
#8A3CD1
secondary
#B3D594
accent
#E54390
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83