#8D2197#8D2197

#8D2197 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.194 H 324.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8D2197
RGBrgb(141, 33, 151)
HSLhsl(295, 64%, 36%)
HSVhsv(295, 78%, 59%)
CMYKcmyk(6.6%, 78.1%, 0%, 40.8%)
CIE-LABlab(35.96, 58.39, -40.71)
CIE-LCHlch(35.96, 71.18, 325.11°)
OKLaboklab(47.36% 0.1577 -0.1136)
OKLCHoklch(47.36% 0.194 324.2)
XYZxyz(17.1138, 8.9859, 30.1052)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2197 #2B9721
analogous
#522197 #8D2197 #972166
triadic
#8D2197 #978D21 #21978D
tetradic
#8D2197 #975221 #2B9721 #216697
square
#8D2197 #975221 #2B9721 #216697
split-complementary
#8D2197 #669721 #219752
monochromatic
#2F0B33 #5E1665 #8D2197 #BC2CC9 #CF58DA

Accessibility & contrast

On white

7.51
#8D2197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2197
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2197#FFFFFF#000000##FFFFFF
##8D21971.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#90385C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2197;
/* rgb */ color: rgb(141, 33, 151);
/* oklch */ color: oklch(47.4% 0.194 324.2);
Tailwind
colors: {
  custom: {
    50: '#b26ab6',
    500: '#8d2197',
    950: '#000000',
  },
}
SCSS
$custom: #8d2197;
$custom-light: #b26ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2197",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 294.915,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.19432,
    "h": 324.2
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#8D2197
secondary
#5EBE55
accent
#E7414F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2197

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

Preview Lab → · Contrast checker → · Palette generator →

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