#8C299B#8C299B
#8C299B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.189 H 322.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8C299B |
|---|---|
| RGB | rgb(140, 41, 155) |
| HSL | hsl(292, 58%, 38%) |
| HSV | hsv(292, 74%, 61%) |
| CMYK | cmyk(9.7%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(36.98, 56.20, -41.51) |
| CIE-LCH | lch(36.98, 69.87, 323.55°) |
| OKLab | oklab(48.14% 0.1489 -0.116) |
| OKLCH | oklch(48.14% 0.189 322.1) |
| XYZ | xyz(17.5239, 9.5289, 31.9202) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.71
Warm Purple
#952E8F
ΔE00 3.88
Barney Purple
#A00498
ΔE00 4.17
Darkmagenta
#8B008B
ΔE00 4.51
Purply
#983FB2
ΔE00 5.96
Purple
#800080
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C299B #389B29
analogous
#53299B #8C299B #9B2971
triadic
#8C299B #9B8C29 #299B8C
tetradic
#8C299B #9B5329 #389B29 #29719B
square
#8C299B #9B5329 #389B29 #29719B
split-complementary
#8C299B #719B29 #299B53
monochromatic
#350F3A #601C6B #8C299B #B737CA #C867D7
Accessibility & contrast
On white
7.23
#8C299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#8C299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C299B
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C299B | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#8E3E60
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8c299b; /* rgb */ color: rgb(140, 41, 155); /* oklch */ color: oklch(48.1% 0.189 322.1);
Tailwind
colors: {
custom: {
50: '#b16db9',
500: '#8c299b',
950: '#000000',
},
}SCSS
$custom: #8c299b; $custom-light: #b16db9; $custom-dark: #000000;
JSON
{
"hex": "#8c299b",
"rgb": {
"r": 140,
"g": 41,
"b": 155
},
"hsl": {
"h": 292.105,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.48137,
"c": 0.18874,
"h": 322.1
},
"luminance": 0.09528
}Semantic roles & 50–950 ramp
primary
#8C299B
secondary
#6FBD63
accent
#E1465B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80