#8C209D#8C209D

#8C209D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.200 H 321.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8C209D
RGBrgb(140, 32, 157)
HSLhsl(292, 66%, 37%)
HSVhsv(292, 80%, 62%)
CMYKcmyk(10.8%, 79.6%, 0%, 38.4%)
CIE-LABlab(36.07, 59.56, -44.19)
CIE-LCHlch(36.07, 74.17, 323.43°)
OKLaboklab(47.53% 0.1568 -0.1238)
OKLCHoklch(47.53% 0.2 321.7)
XYZxyz(17.4169, 9.0438, 32.7200)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C209D #319D20
analogous
#4E209D #8C209D #9D2070
triadic
#8C209D #9D8C20 #209D8C
tetradic
#8C209D #9D4E20 #319D20 #20709D
square
#8C209D #9D4E20 #319D20 #20709D
split-complementary
#8C209D #709D20 #209D4E
monochromatic
#310B37 #5F166A #8C209D #B92AD0 #CC5ADD

Accessibility & contrast

On white

7.48
#8C209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8C209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C209D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C209D#FFFFFF#000000##FFFFFF
##8C209D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#8D3A5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c209d;
/* rgb */ color: rgb(140, 32, 157);
/* oklch */ color: oklch(47.5% 0.200 321.7);
Tailwind
colors: {
  custom: {
    50: '#b269ba',
    500: '#8c209d',
    950: '#000000',
  },
}
SCSS
$custom: #8c209d;
$custom-light: #b269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c209d",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 291.84,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47529,
    "c": 0.19974,
    "h": 321.7
  },
  "luminance": 0.09043
}

Semantic roles & 50–950 ramp

primary
#8C209D
secondary
#66C157
accent
#E93F56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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