#8D2E9A#8D2E9A

#8D2E9A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.182 H 322.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D2E9A
RGBrgb(141, 46, 154)
HSLhsl(293, 54%, 39%)
HSVhsv(293, 70%, 60%)
CMYKcmyk(8.4%, 70.1%, 0%, 39.6%)
CIE-LABlab(37.75, 54.33, -39.66)
CIE-LCHlch(37.75, 67.27, 323.87°)
OKLaboklab(48.7% 0.1449 -0.1106)
OKLCHoklch(48.7% 0.182 322.6)
XYZxyz(17.7937, 9.9508, 31.5490)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E9A #3B9A2E
analogous
#572E9A #8D2E9A #9A2E71
triadic
#8D2E9A #9A8D2E #2E9A8D
tetradic
#8D2E9A #9A572E #3B9A2E #2E719A
square
#8D2E9A #9A572E #3B9A2E #2E719A
split-complementary
#8D2E9A #719A2E #2E9A57
monochromatic
#37123C #62206B #8D2E9A #B63FC6 #C86FD4

Accessibility & contrast

On white

7.02
#8D2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E9A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E9A#FFFFFF#000000##FFFFFF
##8D2E9A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529D
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#8F4161
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2e9a;
/* rgb */ color: rgb(141, 46, 154);
/* oklch */ color: oklch(48.7% 0.182 322.6);
Tailwind
colors: {
  custom: {
    50: '#b26fb8',
    500: '#8d2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e9a;
$custom-light: #b26fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e9a",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 292.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48701,
    "c": 0.18234,
    "h": 322.6
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#8D2E9A
secondary
#73BB69
accent
#DD4A5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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