#8C2193#8C2193

#8C2193 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.191 H 325.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8C2193
RGBrgb(140, 33, 147)
HSLhsl(296, 63%, 35%)
HSVhsv(296, 78%, 58%)
CMYKcmyk(4.8%, 77.6%, 0%, 42.4%)
CIE-LABlab(35.54, 57.47, -38.95)
CIE-LCHlch(35.54, 69.43, 325.88°)
OKLaboklab(46.95% 0.1568 -0.1085)
OKLCHoklch(46.95% 0.191 325.3)
XYZxyz(16.6252, 8.7709, 28.4154)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2193 #289321
analogous
#532193 #8C2193 #932161
triadic
#8C2193 #938C21 #21938C
tetradic
#8C2193 #935321 #289321 #216193
square
#8C2193 #935321 #289321 #216193
split-complementary
#8C2193 #619321 #219353
monochromatic
#2D0B2F #5C1661 #8C2193 #BC2CC5 #D155D9

Accessibility & contrast

On white

7.63
#8C2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8C2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2193
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2193#FFFFFF#000000##FFFFFF
##8C21931.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#3A5890
Tritanopia (blue-blind)
#8F3659
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8c2193;
/* rgb */ color: rgb(140, 33, 147);
/* oklch */ color: oklch(46.9% 0.191 325.3);
Tailwind
colors: {
  custom: {
    50: '#b169b3',
    500: '#8c2193',
    950: '#000000',
  },
}
SCSS
$custom: #8c2193;
$custom-light: #b169b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2193",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 296.316,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.19064,
    "h": 325.3
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#8C2193
secondary
#5ABD53
accent
#E6414C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2193

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8C2193 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva