#8D2997#8D2997

#8D2997 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.186 H 324.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D2997
RGBrgb(141, 41, 151)
HSLhsl(295, 57%, 38%)
HSVhsv(295, 73%, 59%)
CMYKcmyk(6.6%, 72.8%, 0%, 40.8%)
CIE-LABlab(36.90, 55.69, -39.21)
CIE-LCHlch(36.90, 68.10, 324.85°)
OKLaboklab(48.03% 0.1502 -0.1093)
OKLCHoklch(48.03% 0.186 324)
XYZxyz(17.3629, 9.4840, 30.1882)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2997 #339729
analogous
#562997 #8D2997 #97296A
triadic
#8D2997 #978D29 #29978D
tetradic
#8D2997 #975629 #339729 #296A97
square
#8D2997 #975629 #339729 #296A97
split-complementary
#8D2997 #6A9729 #299756
monochromatic
#330F37 #601C67 #8D2997 #BA36C7 #CB65D5

Accessibility & contrast

On white

7.25
#8D2997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2997
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2997#FFFFFF#000000##FFFFFF
##8D29971.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#903C5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2997;
/* rgb */ color: rgb(141, 41, 151);
/* oklch */ color: oklch(48.0% 0.186 324.0);
Tailwind
colors: {
  custom: {
    50: '#b26db6',
    500: '#8d2997',
    950: '#000000',
  },
}
SCSS
$custom: #8d2997;
$custom-light: #b26db6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2997",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 294.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.18577,
    "h": 324
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#8D2997
secondary
#69BB61
accent
#E14755
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2997

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

Preview Lab → · Contrast checker → · Palette generator →

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