#8C207C#8C207C

#8C207C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.174 H 334.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8C207C
RGBrgb(140, 32, 124)
HSLhsl(309, 63%, 34%)
HSVhsv(309, 77%, 55%)
CMYKcmyk(0%, 77.1%, 11.4%, 45.1%)
CIE-LABlab(34.12, 54.00, -26.96)
CIE-LCHlch(34.12, 60.35, 333.47°)
OKLaboklab(45.51% 0.1575 -0.0737)
OKLCHoklch(45.51% 0.174 334.9)
XYZxyz(14.9700, 8.0650, 19.8332)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C207C #208C30
analogous
#66208C #8C207C #8C2046
triadic
#8C207C #7C8C20 #207C8C
tetradic
#8C207C #8C6620 #208C30 #20468C
square
#8C207C #8C6620 #208C30 #20468C
split-complementary
#8C207C #468C20 #208C66
monochromatic
#280924 #5A1550 #8C207C #BE2BA8 #D750C3

Accessibility & contrast

On white

8.04
#8C207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8C207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C207C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C207C#FFFFFF#000000##FFFFFF
##8C207C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#93294C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c207c;
/* rgb */ color: rgb(140, 32, 124);
/* oklch */ color: oklch(45.5% 0.174 334.9);
Tailwind
colors: {
  custom: {
    50: '#b168a2',
    500: '#8c207c',
    950: '#000000',
  },
}
SCSS
$custom: #8c207c;
$custom-light: #b168a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c207c",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 308.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.17392,
    "h": 334.9
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#8C207C
secondary
#4EBA5E
accent
#E65A42
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8C207C

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

Preview Lab → · Contrast checker → · Palette generator →

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