#8D2D97#8D2D97

#8D2D97 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.181 H 323.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D2D97
RGBrgb(141, 45, 151)
HSLhsl(294, 54%, 38%)
HSVhsv(294, 70%, 59%)
CMYKcmyk(6.6%, 70.2%, 0%, 40.8%)
CIE-LABlab(37.44, 54.17, -38.35)
CIE-LCHlch(37.44, 66.37, 324.70°)
OKLaboklab(48.41% 0.1461 -0.1068)
OKLCHoklch(48.41% 0.181 323.8)
XYZxyz(17.5083, 9.7749, 30.2367)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D97 #37972D
analogous
#582D97 #8D2D97 #972D6C
triadic
#8D2D97 #978D2D #2D978D
tetradic
#8D2D97 #97582D #37972D #2D6C97
square
#8D2D97 #97582D #37972D #2D6C97
split-complementary
#8D2D97 #6C972D #2D9758
monochromatic
#351139 #611F68 #8D2D97 #B83CC5 #C96BD3

Accessibility & contrast

On white

7.11
#8D2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2D97
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D97#FFFFFF#000000##FFFFFF
##8D2D971.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#903F5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2d97;
/* rgb */ color: rgb(141, 45, 151);
/* oklch */ color: oklch(48.4% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#b26fb6',
    500: '#8d2d97',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d97;
$custom-light: #b26fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d97",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 294.34,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.18096,
    "h": 323.8
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#8D2D97
secondary
#6EBA66
accent
#DD4A58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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