#8C2CA9#8C2CA9
#8C2CA9 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.198 H 317.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2CA9 |
|---|---|
| RGB | rgb(140, 44, 169) |
| HSL | hsl(286, 59%, 42%) |
| HSV | hsv(286, 74%, 66%) |
| CMYK | cmyk(17.2%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(38.27, 57.78, -47.86) |
| CIE-LCH | lch(38.27, 75.03, 320.36°) |
| OKLab | oklab(49.34% 0.1447 -0.1346) |
| OKLCH | oklch(49.34% 0.198 317.1) |
| XYZ | xyz(18.8763, 10.2422, 38.5111) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.98
Purply
#983FB2
ΔE00 4.71
Barney
#AC1DB8
ΔE00 5.64
Barney Purple
#A00498
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2CA9 #49A92C
analogous
#4E2CA9 #8C2CA9 #A92C88
triadic
#8C2CA9 #A98C2C #2CA98C
tetradic
#8C2CA9 #A94E2C #49A92C #2C88A9
square
#8C2CA9 #A94E2C #49A92C #2C88A9
split-complementary
#8C2CA9 #88A92C #2CA94E
monochromatic
#3C1348 #641F78 #8C2CA9 #AE44CE #C374DB
Accessibility & contrast
On white
6.89
#8C2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#8C2CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2CA9
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2CA9 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#2E5DA6
Tritanopia (blue-blind)
#8B4668
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8c2ca9; /* rgb */ color: rgb(140, 44, 169); /* oklch */ color: oklch(49.3% 0.198 317.1);
Tailwind
colors: {
custom: {
50: '#b16fc3',
500: '#8c2ca9',
950: '#000000',
},
}SCSS
$custom: #8c2ca9; $custom-light: #b16fc3; $custom-dark: #000000;
JSON
{
"hex": "#8c2ca9",
"rgb": {
"r": 140,
"g": 44,
"b": 169
},
"hsl": {
"h": 286.08,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.49344,
"c": 0.19767,
"h": 317.1
},
"luminance": 0.10241
}Semantic roles & 50–950 ramp
primary
#8C2CA9
secondary
#82C36E
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82