#8D207E#8D207E

#8D207E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.176 H 334.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8D207E
RGBrgb(141, 32, 126)
HSLhsl(308, 63%, 34%)
HSVhsv(308, 77%, 55%)
CMYKcmyk(0%, 77.3%, 10.6%, 44.7%)
CIE-LABlab(34.40, 54.54, -27.75)
CIE-LCHlch(34.40, 61.20, 333.03°)
OKLaboklab(45.78% 0.1587 -0.076)
OKLCHoklch(45.78% 0.176 334.4)
XYZxyz(15.2671, 8.2035, 20.5140)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D207E #208D2F
analogous
#66208D #8D207E #8D2048
triadic
#8D207E #7E8D20 #207E8D
tetradic
#8D207E #8D6620 #208D2F #20488D
square
#8D207E #8D6620 #208D2F #20488D
split-complementary
#8D207E #488D20 #208D66
monochromatic
#290925 #5B1551 #8D207E #BF2BAB #D750C5

Accessibility & contrast

On white

7.95
#8D207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D207E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D207E#FFFFFF#000000##FFFFFF
##8D207E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#47577B
Tritanopia (blue-blind)
#942A4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d207e;
/* rgb */ color: rgb(141, 32, 126);
/* oklch */ color: oklch(45.8% 0.176 334.4);
Tailwind
colors: {
  custom: {
    50: '#b268a3',
    500: '#8d207e',
    950: '#000000',
  },
}
SCSS
$custom: #8d207e;
$custom-light: #b268a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d207e",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 308.257,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.17595,
    "h": 334.4
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#8D207E
secondary
#4EBA5D
accent
#E65842
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D207E

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

Preview Lab → · Contrast checker → · Palette generator →

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