#8D197E#8D197E

#8D197E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 334.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8D197E
RGBrgb(141, 25, 126)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 82%, 55%)
CMYKcmyk(0%, 82.3%, 10.6%, 44.7%)
CIE-LABlab(33.70, 56.56, -28.86)
CIE-LCHlch(33.70, 63.50, 332.97°)
OKLaboklab(45.28% 0.1646 -0.0791)
OKLCHoklch(45.28% 0.183 334.3)
XYZxyz(15.0982, 7.8657, 20.4577)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D197E #198D28
analogous
#62198D #8D197E #8D1944
triadic
#8D197E #7E8D19 #197E8D
tetradic
#8D197E #8D6219 #198D28 #19448D
square
#8D197E #8D6219 #198D28 #19448D
split-complementary
#8D197E #448D19 #198D62
monochromatic
#250721 #591050 #8D197E #C122AC #DE43CA

Accessibility & contrast

On white

8.16
#8D197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D197E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D197E#FFFFFF#000000##FFFFFF
##8D197E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#94264C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d197e;
/* rgb */ color: rgb(141, 25, 126);
/* oklch */ color: oklch(45.3% 0.183 334.3);
Tailwind
colors: {
  custom: {
    50: '#b266a4',
    500: '#8d197e',
    950: '#000000',
  },
}
SCSS
$custom: #8d197e;
$custom-light: #b266a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d197e",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 307.759,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.18266,
    "h": 334.3
  },
  "luminance": 0.07864
}

Semantic roles & 50–950 ramp

primary
#8D197E
secondary
#43BF53
accent
#ED523B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D197E

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

Preview Lab → · Contrast checker → · Palette generator →

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