#8C2182#8C2182

#8C2182 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.177 H 332.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8C2182
RGBrgb(140, 33, 130)
HSLhsl(306, 62%, 34%)
HSVhsv(306, 76%, 55%)
CMYKcmyk(0%, 76.4%, 7.1%, 45.1%)
CIE-LABlab(34.55, 54.62, -30.03)
CIE-LCHlch(34.55, 62.33, 331.20°)
OKLaboklab(45.93% 0.1569 -0.0826)
OKLCHoklch(45.93% 0.177 332.2)
XYZxyz(15.3884, 8.2761, 21.9018)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2182 #218C2B
analogous
#61218C #8C2182 #8C214D
triadic
#8C2182 #828C21 #21828C
tetradic
#8C2182 #8C6121 #218C2B #214D8C
square
#8C2182 #8C6121 #218C2B #214D8C
split-complementary
#8C2182 #4D8C21 #218C61
monochromatic
#290A26 #5A1554 #8C2182 #BE2DB0 #D651CA

Accessibility & contrast

On white

7.91
#8C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8C2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2182
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2182#FFFFFF#000000##FFFFFF
##8C21821.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#44577F
Tritanopia (blue-blind)
#922D50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c2182;
/* rgb */ color: rgb(140, 33, 130);
/* oklch */ color: oklch(45.9% 0.177 332.2);
Tailwind
colors: {
  custom: {
    50: '#b169a6',
    500: '#8c2182',
    950: '#000000',
  },
}
SCSS
$custom: #8c2182;
$custom-light: #b169a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2182",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 305.607,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.17732,
    "h": 332.2
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#8C2182
secondary
#4FB959
accent
#E55243
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8C2182

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

Preview Lab → · Contrast checker → · Palette generator →

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