#8C279B#8C279B
#8C279B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 322.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8C279B |
|---|---|
| RGB | rgb(140, 39, 155) |
| HSL | hsl(292, 60%, 38%) |
| HSV | hsv(292, 75%, 61%) |
| CMYK | cmyk(9.7%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(36.73, 56.92, -41.91) |
| CIE-LCH | lch(36.73, 70.69, 323.63°) |
| OKLab | oklab(47.96% 0.1508 -0.1172) |
| OKLCH | oklch(47.96% 0.191 322.2) |
| XYZ | xyz(17.4565, 9.3940, 31.8977) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.52
Warm Purple
#952E8F
ΔE00 4.01
Barney Purple
#A00498
ΔE00 4.09
Darkmagenta
#8B008B
ΔE00 4.29
Purple
#800080
ΔE00 6.14
Purply
#983FB2
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C279B #369B27
analogous
#52279B #8C279B #9B2770
triadic
#8C279B #9B8C27 #279B8C
tetradic
#8C279B #9B5227 #369B27 #27709B
square
#8C279B #9B5227 #369B27 #27709B
split-complementary
#8C279B #709B27 #279B52
monochromatic
#340E39 #601B6A #8C279B #B833CC #C964D8
Accessibility & contrast
On white
7.30
#8C279B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#8C279B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C279B
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C279B | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8E3D5F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8c279b; /* rgb */ color: rgb(140, 39, 155); /* oklch */ color: oklch(48.0% 0.191 322.2);
Tailwind
colors: {
custom: {
50: '#b16cb9',
500: '#8c279b',
950: '#000000',
},
}SCSS
$custom: #8c279b; $custom-light: #b16cb9; $custom-dark: #000000;
JSON
{
"hex": "#8c279b",
"rgb": {
"r": 140,
"g": 39,
"b": 155
},
"hsl": {
"h": 292.241,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.47958,
"c": 0.19098,
"h": 322.2
},
"luminance": 0.09393
}Semantic roles & 50–950 ramp
primary
#8C279B
secondary
#6CBE60
accent
#E34559
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80