#8D207C#8D207C

#8D207C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 335.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8D207C
RGBrgb(141, 32, 124)
HSLhsl(309, 63%, 34%)
HSVhsv(309, 77%, 55%)
CMYKcmyk(0%, 77.3%, 12.1%, 44.7%)
CIE-LABlab(34.30, 54.23, -26.67)
CIE-LCHlch(34.30, 60.43, 333.82°)
OKLaboklab(45.67% 0.1585 -0.0729)
OKLCHoklch(45.67% 0.174 335.3)
XYZxyz(15.1393, 8.1523, 19.8411)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D207C #208D31
analogous
#68208D #8D207C #8D2046
triadic
#8D207C #7C8D20 #207C8D
tetradic
#8D207C #8D6820 #208D31 #20468D
square
#8D207C #8D6820 #208D31 #20468D
split-complementary
#8D207C #468D20 #208D68
monochromatic
#290924 #5B1550 #8D207C #BF2BA8 #D750C2

Accessibility & contrast

On white

7.98
#8D207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D207C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D207C#FFFFFF#000000##FFFFFF
##8D207C1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#94294C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d207c;
/* rgb */ color: rgb(141, 32, 124);
/* oklch */ color: oklch(45.7% 0.174 335.3);
Tailwind
colors: {
  custom: {
    50: '#b268a2',
    500: '#8d207c',
    950: '#000000',
  },
}
SCSS
$custom: #8d207c;
$custom-light: #b268a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d207c",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 309.358,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.17448,
    "h": 335.3
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#8D207C
secondary
#4EBA5F
accent
#E65B42
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D207C

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

Preview Lab → · Contrast checker → · Palette generator →

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