#8A3FD1#8A3FD1
#8A3FD1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.214 H 303.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FD1 |
|---|---|
| RGB | rgb(138, 63, 209) |
| HSL | hsl(271, 61%, 53%) |
| HSV | hsv(271, 70%, 82%) |
| CMYK | cmyk(34%, 69.9%, 0%, 18%) |
| CIE-LAB | lab(43.60, 58.11, -62.73) |
| CIE-LCH | lch(43.60, 85.50, 312.81°) |
| OKLab | oklab(53.95% 0.1176 -0.1785) |
| OKLCH | oklch(53.95% 0.214 303.4) |
| XYZ | xyz(23.7647, 13.5618, 61.6749) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.26
Blueviolet
#8A2BE2
ΔE00 3.45
Violet (survey)
#9A0EEA
ΔE00 5.15
Bluish Purple
#703BE7
ΔE00 5.38
Darkviolet
#9400D3
ΔE00 5.89
Vivid Purple
#9900FA
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FD1 #86D13F
analogous
#413FD1 #8A3FD1 #D13FCF
triadic
#8A3FD1 #D18A3F #3FD18A
tetradic
#8A3FD1 #D1413F #86D13F #3FCFD1
square
#8A3FD1 #D1413F #86D13F #3FCFD1
split-complementary
#8A3FD1 #CFD13F #3FD141
monochromatic
#4C1D79 #6B29AA #8A3FD1 #A870DD #C6A2E9
Accessibility & contrast
On white
5.66
#8A3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8A3FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FD1
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FD1 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#7C6184
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a3fd1; /* rgb */ color: rgb(138, 63, 209); /* oklch */ color: oklch(54.0% 0.214 303.4);
Tailwind
colors: {
custom: {
50: '#b27ae0',
500: '#8a3fd1',
950: '#000000',
},
}SCSS
$custom: #8a3fd1; $custom-light: #b27ae0; $custom-dark: #000000;
JSON
{
"hex": "#8a3fd1",
"rgb": {
"r": 138,
"g": 63,
"b": 209
},
"hsl": {
"h": 270.822,
"s": 61.345,
"l": 53.333
},
"oklch": {
"l": 0.53953,
"c": 0.21373,
"h": 303.4
},
"luminance": 0.13562
}Semantic roles & 50–950 ramp
primary
#8A3FD1
secondary
#B5D597
accent
#E44392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83