#8A2FAE#8A2FAE
#8A2FAE is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 314.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2FAE |
|---|---|
| RGB | rgb(138, 47, 174) |
| HSL | hsl(283, 57%, 43%) |
| HSV | hsv(283, 73%, 68%) |
| CMYK | cmyk(20.7%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(38.71, 57.22, -50.15) |
| CIE-LCH | lch(38.71, 76.09, 318.76°) |
| OKLab | oklab(49.7% 0.1387 -0.1414) |
| OKLCH | oklch(49.7% 0.198 314.4) |
| XYZ | xyz(19.1364, 10.4930, 41.0535) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.46
Purply
#983FB2
ΔE00 4.54
Darkorchid
#9932CC
ΔE00 5.07
Darkviolet
#9400D3
ΔE00 5.68
Barney
#AC1DB8
ΔE00 5.91
Barney Purple
#A00498
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2FAE #53AE2F
analogous
#4A2FAE #8A2FAE #AE2F92
triadic
#8A2FAE #AE8A2F #2FAE8A
tetradic
#8A2FAE #AE4A2F #53AE2F #2F92AE
square
#8A2FAE #AE4A2F #53AE2F #2F92AE
split-complementary
#8A2FAE #92AE2F #2FAE4A
monochromatic
#3E154E #64227E #8A2FAE #A94CCF #C07CDC
Accessibility & contrast
On white
6.78
#8A2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8A2FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A2FAE
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2FAE | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#874A6C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a2fae; /* rgb */ color: rgb(138, 47, 174); /* oklch */ color: oklch(49.7% 0.198 314.4);
Tailwind
colors: {
custom: {
50: '#b070c7',
500: '#8a2fae',
950: '#000000',
},
}SCSS
$custom: #8a2fae; $custom-light: #b070c7; $custom-dark: #000000;
JSON
{
"hex": "#8a2fae",
"rgb": {
"r": 138,
"g": 47,
"b": 174
},
"hsl": {
"h": 282.992,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.49701,
"c": 0.19808,
"h": 314.4
},
"luminance": 0.10492
}Semantic roles & 50–950 ramp
primary
#8A2FAE
secondary
#8BC475
accent
#E14773
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82