#8C2192#8C2192

#8C2192 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.190 H 325.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8C2192
RGBrgb(140, 33, 146)
HSLhsl(297, 63%, 35%)
HSVhsv(297, 77%, 57%)
CMYKcmyk(4.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(35.48, 57.30, -38.43)
CIE-LCHlch(35.48, 69.00, 326.15°)
OKLaboklab(46.89% 0.1568 -0.107)
OKLCHoklch(46.89% 0.19 325.7)
XYZxyz(16.5470, 8.7396, 28.0039)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2192 #279221
analogous
#532192 #8C2192 #922160
triadic
#8C2192 #928C21 #21928C
tetradic
#8C2192 #925321 #279221 #216092
square
#8C2192 #925321 #279221 #216092
split-complementary
#8C2192 #609221 #219253
monochromatic
#2C0A2E #5C1660 #8C2192 #BC2CC4 #D255D9

Accessibility & contrast

On white

7.64
#8C2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C2192
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2192#FFFFFF#000000##FFFFFF
##8C21921.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#8F3559
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8c2192;
/* rgb */ color: rgb(140, 33, 146);
/* oklch */ color: oklch(46.9% 0.190 325.7);
Tailwind
colors: {
  custom: {
    50: '#b169b2',
    500: '#8c2192',
    950: '#000000',
  },
}
SCSS
$custom: #8c2192;
$custom-light: #b169b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2192",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 296.814,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.18984,
    "h": 325.7
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#8C2192
secondary
#58BC53
accent
#E6424A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2192

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

Preview Lab → · Contrast checker → · Palette generator →

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