#8C299F#8C299F
#8C299F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 320.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8C299F |
|---|---|
| RGB | rgb(140, 41, 159) |
| HSL | hsl(290, 59%, 39%) |
| HSV | hsv(290, 74%, 62%) |
| CMYK | cmyk(11.9%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(37.24, 56.95, -43.53) |
| CIE-LCH | lch(37.24, 71.68, 322.61°) |
| OKLab | oklab(48.4% 0.1486 -0.1219) |
| OKLCH | oklch(48.4% 0.192 320.6) |
| XYZ | xyz(17.8654, 9.6655, 33.7188) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.51
Warm Purple
#952E8F
ΔE00 4.48
Barney Purple
#A00498
ΔE00 4.52
Darkmagenta
#8B008B
ΔE00 4.96
Purply
#983FB2
ΔE00 5.62
Barney
#AC1DB8
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C299F #3C9F29
analogous
#51299F #8C299F #9F2977
triadic
#8C299F #9F8C29 #299F8C
tetradic
#8C299F #9F5129 #3C9F29 #29779F
square
#8C299F #9F5129 #3C9F29 #29779F
split-complementary
#8C299F #779F29 #299F51
monochromatic
#36103E #611C6E #8C299F #B439CC #C76AD9
Accessibility & contrast
On white
7.16
#8C299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#8C299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C299F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C299F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#8D4062
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8c299f; /* rgb */ color: rgb(140, 41, 159); /* oklch */ color: oklch(48.4% 0.192 320.6);
Tailwind
colors: {
custom: {
50: '#b16dbc',
500: '#8c299f',
950: '#000000',
},
}SCSS
$custom: #8c299f; $custom-light: #b16dbc; $custom-dark: #000000;
JSON
{
"hex": "#8c299f",
"rgb": {
"r": 140,
"g": 41,
"b": 159
},
"hsl": {
"h": 290.339,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.48397,
"c": 0.1922,
"h": 320.6
},
"luminance": 0.09665
}Semantic roles & 50–950 ramp
primary
#8C299F
secondary
#73BF65
accent
#E2465F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81