#8A3FA9#8A3FA9
#8A3FA9 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.172 H 314.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FA9 |
|---|---|
| RGB | rgb(138, 63, 169) |
| HSL | hsl(282, 46%, 45%) |
| HSV | hsv(282, 63%, 66%) |
| CMYK | cmyk(18.3%, 62.7%, 0%, 33.7%) |
| CIE-LAB | lab(40.93, 49.08, -43.62) |
| CIE-LCH | lch(40.93, 65.66, 318.37°) |
| OKLab | oklab(51.19% 0.121 -0.1224) |
| OKLCH | oklch(51.19% 0.172 314.7) |
| XYZ | xyz(19.4190, 11.8235, 38.7876) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.82
Medium Purple
#9E43A2
ΔE00 5.25
Darkorchid
#9932CC
ΔE00 5.67
Royal Purple
#7851A9
ΔE00 5.84
Barney
#AC1DB8
ΔE00 6.42
Warm Purple
#952E8F
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FA9 #5EA93F
analogous
#553FA9 #8A3FA9 #A93F93
triadic
#8A3FA9 #A98A3F #3FA98A
tetradic
#8A3FA9 #A9553F #5EA93F #3F93A9
square
#8A3FA9 #A9553F #5EA93F #3F93A9
split-complementary
#8A3FA9 #93A93F #3FA955
monochromatic
#411E50 #662E7C #8A3FA9 #A761C4 #C08ED5
Accessibility & contrast
On white
6.24
#8A3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8A3FA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FA9
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FA9 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#88526E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8a3fa9; /* rgb */ color: rgb(138, 63, 169); /* oklch */ color: oklch(51.2% 0.172 314.7);
Tailwind
colors: {
custom: {
50: '#af79c3',
500: '#8a3fa9',
950: '#000000',
},
}SCSS
$custom: #8a3fa9; $custom-light: #af79c3; $custom-dark: #000000;
JSON
{
"hex": "#8a3fa9",
"rgb": {
"r": 138,
"g": 63,
"b": 169
},
"hsl": {
"h": 282.453,
"s": 45.69,
"l": 45.49
},
"oklch": {
"l": 0.51193,
"c": 0.17212,
"h": 314.7
},
"luminance": 0.11823
}Semantic roles & 50–950 ramp
primary
#8A3FA9
secondary
#96C084
accent
#D55279
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81