#8D2B97#8D2B97

#8D2B97 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.183 H 323.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8D2B97
RGBrgb(141, 43, 151)
HSLhsl(294, 56%, 38%)
HSVhsv(294, 72%, 59%)
CMYKcmyk(6.6%, 71.5%, 0%, 40.8%)
CIE-LABlab(37.16, 54.94, -38.79)
CIE-LCHlch(37.16, 67.25, 324.78°)
OKLaboklab(48.22% 0.1482 -0.108)
OKLCHoklch(48.22% 0.183 323.9)
XYZxyz(17.4338, 9.6259, 30.2119)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B97 #35972B
analogous
#572B97 #8D2B97 #972B6B
triadic
#8D2B97 #978D2B #2B978D
tetradic
#8D2B97 #97572B #35972B #2B6B97
square
#8D2B97 #97572B #35972B #2B6B97
split-complementary
#8D2B97 #6B972B #2B9757
monochromatic
#341038 #611D67 #8D2B97 #B939C7 #CA68D4

Accessibility & contrast

On white

7.18
#8D2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B97
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B97#FFFFFF#000000##FFFFFF
##8D2B971.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09509A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#903D5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2b97;
/* rgb */ color: rgb(141, 43, 151);
/* oklch */ color: oklch(48.2% 0.183 323.9);
Tailwind
colors: {
  custom: {
    50: '#b26eb6',
    500: '#8d2b97',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b97;
$custom-light: #b26eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b97",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 294.444,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.18341,
    "h": 323.9
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#8D2B97
secondary
#6BBB63
accent
#DF4957
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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