#8C299A#8C299A
#8C299A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 322.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8C299A |
|---|---|
| RGB | rgb(140, 41, 154) |
| HSL | hsl(293, 58%, 38%) |
| HSV | hsv(293, 73%, 60%) |
| CMYK | cmyk(9.1%, 73.4%, 0%, 39.6%) |
| CIE-LAB | lab(36.92, 56.02, -41.00) |
| CIE-LCH | lch(36.92, 69.42, 323.80°) |
| OKLab | oklab(48.07% 0.1489 -0.1145) |
| OKLCH | oklch(48.07% 0.188 322.4) |
| XYZ | xyz(17.4403, 9.4954, 31.4798) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.73
Purple (survey)
#7E1E9C
ΔE00 3.78
Barney Purple
#A00498
ΔE00 4.10
Darkmagenta
#8B008B
ΔE00 4.41
Purply
#983FB2
ΔE00 6.06
Purple
#800080
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C299A #379A29
analogous
#53299A #8C299A #9A296F
triadic
#8C299A #9A8C29 #299A8C
tetradic
#8C299A #9A5329 #379A29 #296F9A
square
#8C299A #9A5329 #379A29 #296F9A
split-complementary
#8C299A #6F9A29 #299A53
monochromatic
#340F39 #601C6A #8C299A #B737CA #C967D7
Accessibility & contrast
On white
7.24
#8C299A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#8C299A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C299A
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C299A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C299A | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#8E3E5F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8c299a; /* rgb */ color: rgb(140, 41, 154); /* oklch */ color: oklch(48.1% 0.188 322.4);
Tailwind
colors: {
custom: {
50: '#b16db8',
500: '#8c299a',
950: '#000000',
},
}SCSS
$custom: #8c299a; $custom-light: #b16db8; $custom-dark: #000000;
JSON
{
"hex": "#8c299a",
"rgb": {
"r": 140,
"g": 41,
"b": 154
},
"hsl": {
"h": 292.566,
"s": 57.949,
"l": 38.235
},
"oklch": {
"l": 0.48073,
"c": 0.18788,
"h": 322.4
},
"luminance": 0.09494
}Semantic roles & 50–950 ramp
primary
#8C299A
secondary
#6DBD62
accent
#E1475A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80