#8D2A96#8D2A96

#8D2A96 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 324.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8D2A96
RGBrgb(141, 42, 150)
HSLhsl(295, 56%, 38%)
HSVhsv(295, 72%, 59%)
CMYKcmyk(6%, 72%, 0%, 41.2%)
CIE-LABlab(36.97, 55.13, -38.49)
CIE-LCHlch(36.97, 67.24, 325.08°)
OKLaboklab(48.06% 0.1493 -0.1072)
OKLCHoklch(48.06% 0.184 324.3)
XYZxyz(17.3170, 9.5217, 29.7740)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A96 #33962A
analogous
#572A96 #8D2A96 #962A69
triadic
#8D2A96 #968D2A #2A968D
tetradic
#8D2A96 #96572A #33962A #2A6996
square
#8D2A96 #96572A #33962A #2A6996
split-complementary
#8D2A96 #69962A #2A9657
monochromatic
#330F36 #601D66 #8D2A96 #BA37C6 #CB66D4

Accessibility & contrast

On white

7.23
#8D2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2A96
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A96#FFFFFF#000000##FFFFFF
##8D2A961.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#3E5B93
Tritanopia (blue-blind)
#903C5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2a96;
/* rgb */ color: rgb(141, 42, 150);
/* oklch */ color: oklch(48.1% 0.184 324.3);
Tailwind
colors: {
  custom: {
    50: '#b26db5',
    500: '#8d2a96',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a96;
$custom-light: #b26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a96",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 295,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48062,
    "c": 0.18375,
    "h": 324.3
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#8D2A96
secondary
#69BA61
accent
#E04855
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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