#8C207E#8C207E

#8C207E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.175 H 334.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8C207E
RGBrgb(140, 32, 126)
HSLhsl(308, 63%, 34%)
HSVhsv(308, 77%, 55%)
CMYKcmyk(0%, 77.1%, 10%, 45.1%)
CIE-LABlab(34.22, 54.31, -28.05)
CIE-LCHlch(34.22, 61.12, 332.68°)
OKLaboklab(45.62% 0.1577 -0.0769)
OKLCHoklch(45.62% 0.175 334)
XYZxyz(15.0978, 8.1162, 20.5060)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C207E #208C2E
analogous
#64208C #8C207E #8C2048
triadic
#8C207E #7E8C20 #207E8C
tetradic
#8C207E #8C6420 #208C2E #20488C
square
#8C207E #8C6420 #208C2E #20488C
split-complementary
#8C207E #488C20 #208C64
monochromatic
#280924 #5A1551 #8C207E #BE2BAB #D750C5

Accessibility & contrast

On white

8.01
#8C207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8C207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C207E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C207E#FFFFFF#000000##FFFFFF
##8C207E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4681
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#932B4D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c207e;
/* rgb */ color: rgb(140, 32, 126);
/* oklch */ color: oklch(45.6% 0.175 334.0);
Tailwind
colors: {
  custom: {
    50: '#b168a4',
    500: '#8c207e',
    950: '#000000',
  },
}
SCSS
$custom: #8c207e;
$custom-light: #b168a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c207e",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 307.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.17539,
    "h": 334
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#8C207E
secondary
#4EBA5C
accent
#E65742
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8C207E

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

Preview Lab → · Contrast checker → · Palette generator →

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