#8A2C93#8A2C93
#8A2C93 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 324.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C93 |
|---|---|
| RGB | rgb(138, 44, 147) |
| HSL | hsl(295, 54%, 37%) |
| HSV | hsv(295, 70%, 58%) |
| CMYK | cmyk(6.1%, 70.1%, 0%, 42.4%) |
| CIE-LAB | lab(36.58, 53.12, -37.31) |
| CIE-LCH | lch(36.58, 64.92, 324.92°) |
| OKLab | oklab(47.63% 0.1437 -0.1038) |
| OKLCH | oklch(47.63% 0.177 324.1) |
| XYZ | xyz(16.6479, 9.3122, 28.5187) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.94
Darkmagenta
#8B008B
ΔE00 4.26
Barney Purple
#A00498
ΔE00 4.29
Purple (survey)
#7E1E9C
ΔE00 4.45
Purple
#800080
ΔE00 5.84
Purply
#983FB2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C93 #35932C
analogous
#562C93 #8A2C93 #932C69
triadic
#8A2C93 #938A2C #2C938A
tetradic
#8A2C93 #93562C #35932C #2C6993
square
#8A2C93 #93562C #35932C #2C6993
split-complementary
#8A2C93 #69932C #2C9356
monochromatic
#321035 #5E1E64 #8A2C93 #B63AC2 #C868D2
Accessibility & contrast
On white
7.34
#8A2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8A2C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C93
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C93 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114F96
Deuteranopia (green-blind)
#3E5A90
Tritanopia (blue-blind)
#8D3D5C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8a2c93; /* rgb */ color: rgb(138, 44, 147); /* oklch */ color: oklch(47.6% 0.177 324.1);
Tailwind
colors: {
custom: {
50: '#af6eb3',
500: '#8a2c93',
950: '#000000',
},
}SCSS
$custom: #8a2c93; $custom-light: #af6eb3; $custom-dark: #000000;
JSON
{
"hex": "#8a2c93",
"rgb": {
"r": 138,
"g": 44,
"b": 147
},
"hsl": {
"h": 294.757,
"s": 53.927,
"l": 37.451
},
"oklch": {
"l": 0.47628,
"c": 0.17727,
"h": 324.1
},
"luminance": 0.09311
}Semantic roles & 50–950 ramp
primary
#8A2C93
secondary
#6AB863
accent
#DD4A57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80