#8C2183#8C2183

#8C2183 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.178 H 331.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8C2183
RGBrgb(140, 33, 131)
HSLhsl(305, 62%, 34%)
HSVhsv(305, 76%, 55%)
CMYKcmyk(0%, 76.4%, 6.4%, 45.1%)
CIE-LABlab(34.61, 54.78, -30.56)
CIE-LCHlch(34.61, 62.73, 330.84°)
OKLaboklab(45.98% 0.157 -0.0841)
OKLCHoklch(45.98% 0.178 331.8)
XYZxyz(15.4558, 8.3031, 22.2570)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2183 #218C2A
analogous
#60218C #8C2183 #8C214E
triadic
#8C2183 #838C21 #21838C
tetradic
#8C2183 #8C6021 #218C2A #214E8C
square
#8C2183 #8C6021 #218C2A #214E8C
split-complementary
#8C2183 #4E8C21 #218C60
monochromatic
#290A26 #5A1555 #8C2183 #BE2DB1 #D651CB

Accessibility & contrast

On white

7.89
#8C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C2183
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2183#FFFFFF#000000##FFFFFF
##8C21831.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194886
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#922E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c2183;
/* rgb */ color: rgb(140, 33, 131);
/* oklch */ color: oklch(46.0% 0.178 331.8);
Tailwind
colors: {
  custom: {
    50: '#b169a7',
    500: '#8c2183',
    950: '#000000',
  },
}
SCSS
$custom: #8c2183;
$custom-light: #b169a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2183",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 305.047,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.17807,
    "h": 331.8
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#8C2183
secondary
#4FB958
accent
#E55043
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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