#8D2C98#8D2C98

#8D2C98 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.183 H 323.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D2C98
RGBrgb(141, 44, 152)
HSLhsl(294, 55%, 38%)
HSVhsv(294, 71%, 60%)
CMYKcmyk(7.2%, 71.1%, 0%, 40.4%)
CIE-LABlab(37.36, 54.74, -39.09)
CIE-LCHlch(37.36, 67.26, 324.47°)
OKLaboklab(48.38% 0.1471 -0.1089)
OKLCHoklch(48.38% 0.183 323.5)
XYZxyz(17.5522, 9.7321, 30.6537)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C98 #37982C
analogous
#572C98 #8D2C98 #982C6D
triadic
#8D2C98 #988D2C #2C988D
tetradic
#8D2C98 #98572C #37982C #2C6D98
square
#8D2C98 #98572C #37982C #2C6D98
split-complementary
#8D2C98 #6D982C #2C9857
monochromatic
#351139 #611E69 #8D2C98 #B83BC6 #C96AD4

Accessibility & contrast

On white

7.13
#8D2C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D2C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C98
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C98#FFFFFF#000000##FFFFFF
##8D2C981.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519B
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#8F3E5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2c98;
/* rgb */ color: rgb(141, 44, 152);
/* oklch */ color: oklch(48.4% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#b26eb7',
    500: '#8d2c98',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c98;
$custom-light: #b26eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c98",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 293.889,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.18306,
    "h": 323.5
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#8D2C98
secondary
#6EBB65
accent
#DE4959
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2C98

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

Preview Lab → · Contrast checker → · Palette generator →

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