#8D2397#8D2397

#8D2397 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.192 H 324.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8D2397
RGBrgb(141, 35, 151)
HSLhsl(295, 62%, 36%)
HSVhsv(295, 77%, 59%)
CMYKcmyk(6.6%, 76.8%, 0%, 40.8%)
CIE-LABlab(36.18, 57.76, -40.36)
CIE-LCHlch(36.18, 70.46, 325.05°)
OKLaboklab(47.52% 0.1559 -0.1126)
OKLCHoklch(47.52% 0.192 324.2)
XYZxyz(17.1710, 9.1002, 30.1243)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2397 #2D9723
analogous
#532397 #8D2397 #972367
triadic
#8D2397 #978D23 #23978D
tetradic
#8D2397 #975323 #2D9723 #236797
square
#8D2397 #975323 #2D9723 #236797
split-complementary
#8D2397 #679723 #239753
monochromatic
#300C34 #5F1765 #8D2397 #BB2FC9 #CE5BD9

Accessibility & contrast

On white

7.45
#8D2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D2397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2397
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2397#FFFFFF#000000##FFFFFF
##8D23971.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#90395C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2397;
/* rgb */ color: rgb(141, 35, 151);
/* oklch */ color: oklch(47.5% 0.192 324.2);
Tailwind
colors: {
  custom: {
    50: '#b26ab6',
    500: '#8d2397',
    950: '#000000',
  },
}
SCSS
$custom: #8d2397;
$custom-light: #b26ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2397",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 294.828,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.19232,
    "h": 324.2
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#8D2397
secondary
#61BE58
accent
#E54250
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2397

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

Preview Lab → · Contrast checker → · Palette generator →

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