#8A2FAA#8A2FAA
#8A2FAA is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.194 H 315.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2FAA |
|---|---|
| RGB | rgb(138, 47, 170) |
| HSL | hsl(284, 57%, 43%) |
| HSV | hsv(284, 72%, 67%) |
| CMYK | cmyk(18.8%, 72.4%, 0%, 33.3%) |
| CIE-LAB | lab(38.44, 56.40, -48.20) |
| CIE-LCH | lch(38.44, 74.19, 319.48°) |
| OKLab | oklab(49.43% 0.1391 -0.1357) |
| OKLCH | oklch(49.43% 0.194 315.7) |
| XYZ | xyz(18.7523, 10.3393, 39.0303) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.15
Purply
#983FB2
ΔE00 4.57
Darkorchid
#9932CC
ΔE00 5.60
Barney
#AC1DB8
ΔE00 5.93
Darkviolet
#9400D3
ΔE00 6.24
Warm Purple
#952E8F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2FAA #4FAA2F
analogous
#4C2FAA #8A2FAA #AA2F8D
triadic
#8A2FAA #AA8A2F #2FAA8A
tetradic
#8A2FAA #AA4C2F #4FAA2F #2F8DAA
square
#8A2FAA #AA4C2F #4FAA2F #2F8DAA
split-complementary
#8A2FAA #8DAA2F #2FAA4C
monochromatic
#3C144A #63227A #8A2FAA #AB49CD #C179DA
Accessibility & contrast
On white
6.85
#8A2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#8A2FAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A2FAA
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2FAA | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#88496A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8a2faa; /* rgb */ color: rgb(138, 47, 170); /* oklch */ color: oklch(49.4% 0.194 315.7);
Tailwind
colors: {
custom: {
50: '#b070c4',
500: '#8a2faa',
950: '#000000',
},
}SCSS
$custom: #8a2faa; $custom-light: #b070c4; $custom-dark: #000000;
JSON
{
"hex": "#8a2faa",
"rgb": {
"r": 138,
"g": 47,
"b": 170
},
"hsl": {
"h": 284.39,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.49425,
"c": 0.19436,
"h": 315.7
},
"luminance": 0.10339
}Semantic roles & 50–950 ramp
primary
#8A2FAA
secondary
#87C272
accent
#E0486F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82