#8D2A8F#8D2A8F

#8D2A8F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.178 H 327.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8D2A8F
RGBrgb(141, 42, 143)
HSLhsl(299, 55%, 36%)
HSVhsv(299, 71%, 56%)
CMYKcmyk(1.4%, 70.6%, 0%, 43.9%)
CIE-LABlab(36.56, 53.88, -34.86)
CIE-LCHlch(36.56, 64.18, 327.10°)
OKLaboklab(47.64% 0.1493 -0.0966)
OKLCHoklch(47.64% 0.178 327.1)
XYZxyz(16.7701, 9.3030, 26.8936)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A8F #2C8F2A
analogous
#5B2A8F #8D2A8F #8F2A5F
triadic
#8D2A8F #8F8D2A #2A8F8D
tetradic
#8D2A8F #8F5B2A #2C8F2A #2A5F8F
square
#8D2A8F #8F5B2A #2C8F2A #2A5F8F
split-complementary
#8D2A8F #5F8F2A #2A8F5B
monochromatic
#300E30 #5E1C60 #8D2A8F #BC38BE #CF62D1

Accessibility & contrast

On white

7.34
#8D2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A8F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A8F#FFFFFF#000000##FFFFFF
##8D2A8F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#913959
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2a8f;
/* rgb */ color: rgb(141, 42, 143);
/* oklch */ color: oklch(47.6% 0.178 327.1);
Tailwind
colors: {
  custom: {
    50: '#b26db0',
    500: '#8d2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a8f;
$custom-light: #b26db0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a8f",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 298.812,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47637,
    "c": 0.17785,
    "h": 327.1
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#8D2A8F
secondary
#60B75E
accent
#DE4A4D
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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