#8C208E#8C208E

#8C208E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.188 H 327.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8C208E
RGBrgb(140, 32, 142)
HSLhsl(299, 63%, 34%)
HSVhsv(299, 77%, 56%)
CMYKcmyk(1.4%, 77.5%, 0%, 44.3%)
CIE-LABlab(35.13, 56.92, -36.54)
CIE-LCHlch(35.13, 67.64, 327.30°)
OKLaboklab(46.56% 0.1579 -0.1014)
OKLCHoklch(46.56% 0.188 327.3)
XYZxyz(16.2140, 8.5626, 26.3847)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C208E #228E20
analogous
#55208E #8C208E #8E2059
triadic
#8C208E #8E8C20 #208E8C
tetradic
#8C208E #8E5520 #228E20 #20598E
square
#8C208E #8E5520 #228E20 #20598E
split-complementary
#8C208E #598E20 #208E55
monochromatic
#2A092A #5B155C #8C208E #BD2BC0 #D551D8

Accessibility & contrast

On white

7.74
#8C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8C208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C208E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C208E#FFFFFF#000000##FFFFFF
##8C208E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#903356
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8c208e;
/* rgb */ color: rgb(140, 32, 142);
/* oklch */ color: oklch(46.6% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#b169af',
    500: '#8c208e',
    950: '#000000',
  },
}
SCSS
$custom: #8c208e;
$custom-light: #b169af;
$custom-dark: #000000;
JSON
{
  "hex": "#8c208e",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 298.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.18765,
    "h": 327.3
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#8C208E
secondary
#51BB4F
accent
#E64245
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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