#8A3FAE#8A3FAE
#8A3FAE is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.177 H 313.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3FAE |
|---|---|
| RGB | rgb(138, 63, 174) |
| HSL | hsl(281, 47%, 46%) |
| HSV | hsv(281, 64%, 68%) |
| CMYK | cmyk(20.7%, 63.8%, 0%, 31.8%) |
| CIE-LAB | lab(41.24, 50.16, -46.09) |
| CIE-LCH | lch(41.24, 68.13, 317.42°) |
| OKLab | oklab(51.51% 0.1209 -0.1296) |
| OKLCH | oklch(51.51% 0.177 313) |
| XYZ | xyz(19.8974, 12.0148, 41.3071) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.75
Darkorchid
#9932CC
ΔE00 4.94
Royal Purple
#7851A9
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 5.78
Barney
#AC1DB8
ΔE00 6.39
Purple (survey)
#7E1E9C
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3FAE #63AE3F
analogous
#533FAE #8A3FAE #AE3F9B
triadic
#8A3FAE #AE8A3F #3FAE8A
tetradic
#8A3FAE #AE533F #63AE3F #3F9BAE
square
#8A3FAE #AE533F #63AE3F #3F9BAE
split-complementary
#8A3FAE #9BAE3F #3FAE53
monochromatic
#431E54 #662F81 #8A3FAE #A764C7 #C090D7
Accessibility & contrast
On white
6.17
#8A3FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8A3FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3FAE
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3FAE | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#865471
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3fae; /* rgb */ color: rgb(138, 63, 174); /* oklch */ color: oklch(51.5% 0.177 313.0);
Tailwind
colors: {
custom: {
50: '#af79c7',
500: '#8a3fae',
950: '#000000',
},
}SCSS
$custom: #8a3fae; $custom-light: #af79c7; $custom-dark: #000000;
JSON
{
"hex": "#8a3fae",
"rgb": {
"r": 138,
"g": 63,
"b": 174
},
"hsl": {
"h": 280.541,
"s": 46.835,
"l": 46.471
},
"oklch": {
"l": 0.51513,
"c": 0.17729,
"h": 313
},
"luminance": 0.12014
}Semantic roles & 50–950 ramp
primary
#8A3FAE
secondary
#9AC287
accent
#D6517D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82