#8C209B#8C209B

#8C209B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 322.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8C209B
RGBrgb(140, 32, 155)
HSLhsl(293, 66%, 37%)
HSVhsv(293, 79%, 61%)
CMYKcmyk(9.7%, 79.4%, 0%, 39.2%)
CIE-LABlab(35.94, 59.20, -43.18)
CIE-LCHlch(35.94, 73.28, 323.89°)
OKLaboklab(47.4% 0.157 -0.1208)
OKLCHoklch(47.4% 0.198 322.4)
XYZxyz(17.2475, 8.9761, 31.8281)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C209B #2F9B20
analogous
#4F209B #8C209B #9B206D
triadic
#8C209B #9B8C20 #209B8C
tetradic
#8C209B #9B4F20 #2F9B20 #206D9B
square
#8C209B #9B4F20 #2F9B20 #206D9B
split-complementary
#8C209B #6D9B20 #209B4F
monochromatic
#300B36 #5E1668 #8C209B #BA2ACE #CD59DD

Accessibility & contrast

On white

7.51
#8C209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8C209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C209B
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C209B#FFFFFF#000000##FFFFFF
##8C209B1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#8E395E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c209b;
/* rgb */ color: rgb(140, 32, 155);
/* oklch */ color: oklch(47.4% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#b169b9',
    500: '#8c209b',
    950: '#000000',
  },
}
SCSS
$custom: #8c209b;
$custom-light: #b169b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c209b",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 292.683,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.1981,
    "h": 322.4
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#8C209B
secondary
#63C156
accent
#E93F54
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C209B

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

Preview Lab → · Contrast checker → · Palette generator →

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