#8D2A99#8D2A99

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

Color values

HEX#8D2A99
RGBrgb(141, 42, 153)
HSLhsl(294, 57%, 38%)
HSVhsv(294, 73%, 60%)
CMYKcmyk(7.8%, 72.5%, 0%, 40%)
CIE-LABlab(37.15, 55.68, -40.02)
CIE-LCHlch(37.15, 68.57, 324.29°)
OKLaboklab(48.25% 0.1492 -0.1116)
OKLCHoklch(48.25% 0.186 323.2)
XYZxyz(17.5617, 9.6196, 31.0626)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A99 #36992A
analogous
#562A99 #8D2A99 #992A6D
triadic
#8D2A99 #998D2A #2A998D
tetradic
#8D2A99 #99562A #36992A #2A6D99
square
#8D2A99 #99562A #36992A #2A6D99
split-complementary
#8D2A99 #6D992A #2A9956
monochromatic
#341039 #611D69 #8D2A99 #B938C8 #CA68D6

Accessibility & contrast

On white

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

On black

2.92
#8D2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D2A99#FFFFFF#000000##FFFFFF
##8D2A991.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#8F3E5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2a99;
/* rgb */ color: rgb(141, 42, 153);
/* oklch */ color: oklch(48.2% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#b26db7',
    500: '#8d2a99',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a99;
$custom-light: #b26db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a99",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 293.514,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.18631,
    "h": 323.2
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#8D2A99
secondary
#6DBC63
accent
#E04858
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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