#8C249A#8C249A
#8C249A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.193 H 322.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8C249A |
|---|---|
| RGB | rgb(140, 36, 154) |
| HSL | hsl(293, 62%, 37%) |
| HSV | hsv(293, 77%, 60%) |
| CMYK | cmyk(9.1%, 76.6%, 0%, 39.6%) |
| CIE-LAB | lab(36.31, 57.76, -41.98) |
| CIE-LCH | lch(36.31, 71.40, 323.99°) |
| OKLab | oklab(47.64% 0.1537 -0.1173) |
| OKLCH | oklch(47.64% 0.193 322.6) |
| XYZ | xyz(17.2782, 9.1713, 31.4257) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.35
Darkmagenta
#8B008B
ΔE00 3.87
Barney Purple
#A00498
ΔE00 3.92
Warm Purple
#952E8F
ΔE00 4.09
Purple
#800080
ΔE00 5.76
Purply
#983FB2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C249A #329A24
analogous
#51249A #8C249A #9A246D
triadic
#8C249A #9A8C24 #249A8C
tetradic
#8C249A #9A5124 #329A24 #246D9A
square
#8C249A #9A5124 #329A24 #246D9A
split-complementary
#8C249A #6D9A24 #249A51
monochromatic
#320D37 #5F1868 #8C249A #B930CC #CB5FDA
Accessibility & contrast
On white
7.41
#8C249A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#8C249A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C249A
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C249A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C249A | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#8E3B5E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8c249a; /* rgb */ color: rgb(140, 36, 154); /* oklch */ color: oklch(47.6% 0.193 322.6);
Tailwind
colors: {
custom: {
50: '#b16bb8',
500: '#8c249a',
950: '#000000',
},
}SCSS
$custom: #8c249a; $custom-light: #b16bb8; $custom-dark: #000000;
JSON
{
"hex": "#8c249a",
"rgb": {
"r": 140,
"g": 36,
"b": 154
},
"hsl": {
"h": 292.881,
"s": 62.105,
"l": 37.255
},
"oklch": {
"l": 0.47639,
"c": 0.19334,
"h": 322.6
},
"luminance": 0.0917
}Semantic roles & 50–950 ramp
primary
#8C249A
secondary
#67BF5B
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80