#8D2398#8D2398

#8D2398 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.193 H 323.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2398
RGBrgb(141, 35, 152)
HSLhsl(294, 63%, 37%)
HSVhsv(294, 77%, 60%)
CMYKcmyk(7.2%, 77%, 0%, 40.4%)
CIE-LABlab(36.24, 57.93, -40.87)
CIE-LCHlch(36.24, 70.90, 324.80°)
OKLaboklab(47.58% 0.1558 -0.1141)
OKLCHoklch(47.58% 0.193 323.8)
XYZxyz(17.2525, 9.1329, 30.5538)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2398 #2E9823
analogous
#532398 #8D2398 #982369
triadic
#8D2398 #988D23 #23988D
tetradic
#8D2398 #985323 #2E9823 #236998
square
#8D2398 #985323 #2E9823 #236998
split-complementary
#8D2398 #699823 #239853
monochromatic
#310C35 #5F1866 #8D2398 #BB2ECA #CE5CD9

Accessibility & contrast

On white

7.43
#8D2398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2398
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2398#FFFFFF#000000##FFFFFF
##8D23981.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#90395D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2398;
/* rgb */ color: rgb(141, 35, 152);
/* oklch */ color: oklch(47.6% 0.193 323.8);
Tailwind
colors: {
  custom: {
    50: '#b26ab7',
    500: '#8d2398',
    950: '#000000',
  },
}
SCSS
$custom: #8d2398;
$custom-light: #b26ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2398",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 294.359,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.19314,
    "h": 323.8
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#8D2398
secondary
#62BE59
accent
#E64252
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2398

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

Preview Lab → · Contrast checker → · Palette generator →

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