#8A2C8B#8A2C8B
#8A2C8B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.170 H 327.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C8B |
|---|---|
| RGB | rgb(138, 44, 139) |
| HSL | hsl(299, 52%, 36%) |
| HSV | hsv(299, 68%, 55%) |
| CMYK | cmyk(0.7%, 68.3%, 0%, 45.5%) |
| CIE-LAB | lab(36.12, 51.67, -33.14) |
| CIE-LCH | lch(36.12, 61.38, 327.32°) |
| OKLab | oklab(47.15% 0.1436 -0.0917) |
| OKLCH | oklch(47.15% 0.17 327.4) |
| XYZ | xyz(16.0419, 9.0698, 25.3268) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.30
Darkmagenta
#8B008B
ΔE00 4.19
Barney Purple
#A00498
ΔE00 4.44
Purple
#800080
ΔE00 5.48
Purple (survey)
#7E1E9C
ΔE00 5.64
Light Eggplant
#894585
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C8B #2D8B2C
analogous
#5A2C8B #8A2C8B #8B2C5C
triadic
#8A2C8B #8B8A2C #2C8B8A
tetradic
#8A2C8B #8B5A2C #2D8B2C #2C5C8B
square
#8A2C8B #8B5A2C #2D8B2C #2C5C8B
split-complementary
#8A2C8B #5C8B2C #2C8B5A
monochromatic
#2E0F2E #5C1D5D #8A2C8B #B83BB9 #CD64CE
Accessibility & contrast
On white
7.46
#8A2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#8A2C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C8B
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C8B | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#435989
Tritanopia (blue-blind)
#8E3A58
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8a2c8b; /* rgb */ color: rgb(138, 44, 139); /* oklch */ color: oklch(47.1% 0.170 327.4);
Tailwind
colors: {
custom: {
50: '#af6ead',
500: '#8a2c8b',
950: '#000000',
},
}SCSS
$custom: #8a2c8b; $custom-light: #af6ead; $custom-dark: #000000;
JSON
{
"hex": "#8a2c8b",
"rgb": {
"r": 138,
"g": 44,
"b": 139
},
"hsl": {
"h": 299.368,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.47148,
"c": 0.17038,
"h": 327.4
},
"luminance": 0.09069
}Semantic roles & 50–950 ramp
primary
#8A2C8B
secondary
#60B45F
accent
#DB4C4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F