#8C2399#8C2399

#8C2399 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.194 H 323.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8C2399
RGBrgb(140, 35, 153)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 77%, 60%)
CMYKcmyk(8.5%, 77.1%, 0%, 40%)
CIE-LABlab(36.13, 57.90, -41.65)
CIE-LCHlch(36.13, 71.33, 324.27°)
OKLaboklab(47.49% 0.1546 -0.1164)
OKLCHoklch(47.49% 0.194 323)
XYZxyz(17.1655, 9.0785, 30.9790)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2399 #309923
analogous
#512399 #8C2399 #99236B
triadic
#8C2399 #998C23 #23998C
tetradic
#8C2399 #995123 #309923 #236B99
square
#8C2399 #995123 #309923 #236B99
split-complementary
#8C2399 #6B9923 #239951
monochromatic
#310C35 #5E1867 #8C2399 #BA2ECB #CC5DDA

Accessibility & contrast

On white

7.46
#8C2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8C2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2399
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2399#FFFFFF#000000##FFFFFF
##8C23991.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#8E3A5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c2399;
/* rgb */ color: rgb(140, 35, 153);
/* oklch */ color: oklch(47.5% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8c2399',
    950: '#000000',
  },
}
SCSS
$custom: #8c2399;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2399",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 293.39,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47493,
    "c": 0.19353,
    "h": 323
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#8C2399
secondary
#64BE59
accent
#E64254
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C2399

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

Preview Lab → · Contrast checker → · Palette generator →

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