#8D2D9B#8D2D9B

#8D2D9B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.184 H 322.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D2D9B
RGBrgb(141, 45, 155)
HSLhsl(292, 55%, 39%)
HSVhsv(292, 71%, 61%)
CMYKcmyk(9%, 71%, 0%, 39.2%)
CIE-LABlab(37.67, 54.91, -40.40)
CIE-LCHlch(37.67, 68.17, 323.66°)
OKLaboklab(48.66% 0.146 -0.1128)
OKLCHoklch(48.66% 0.184 322.3)
XYZxyz(17.8387, 9.9070, 31.9766)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D9B #3B9B2D
analogous
#562D9B #8D2D9B #9B2D72
triadic
#8D2D9B #9B8D2D #2D9B8D
tetradic
#8D2D9B #9B562D #3B9B2D #2D729B
square
#8D2D9B #9B562D #3B9B2D #2D729B
split-complementary
#8D2D9B #729B2D #2D9B56
monochromatic
#37113C #621F6C #8D2D9B #B63EC7 #C86ED5

Accessibility & contrast

On white

7.04
#8D2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D2D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D9B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D9B#FFFFFF#000000##FFFFFF
##8D2D9B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529E
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#8F4061
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2d9b;
/* rgb */ color: rgb(141, 45, 155);
/* oklch */ color: oklch(48.7% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#b26fb9',
    500: '#8d2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d9b;
$custom-light: #b26fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d9b",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 292.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.18446,
    "h": 322.3
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#8D2D9B
secondary
#73BC68
accent
#DE495C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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