#8D2A8B#8D2A8B

#8D2A8B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.175 H 328.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8D2A8B
RGBrgb(141, 42, 139)
HSLhsl(301, 54%, 36%)
HSVhsv(301, 70%, 55%)
CMYKcmyk(0%, 70.2%, 1.4%, 44.7%)
CIE-LABlab(36.34, 53.18, -32.76)
CIE-LCHlch(36.34, 62.46, 328.36°)
OKLaboklab(47.4% 0.1492 -0.0905)
OKLCHoklch(47.4% 0.175 328.8)
XYZxyz(16.4725, 9.1839, 25.3262)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A8B #2A8D2C
analogous
#5D2A8D #8D2A8B #8D2A59
triadic
#8D2A8B #8B8D2A #2A8B8D
tetradic
#8D2A8B #8D5D2A #2A8D2C #2A598D
square
#8D2A8B #8D5D2A #2A8D2C #2A598D
split-complementary
#8D2A8B #598D2A #2A8D5D
monochromatic
#2F0E2E #5E1C5D #8D2A8B #BC38B9 #D061CE

Accessibility & contrast

On white

7.40
#8D2A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D2A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A8B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A8B#FFFFFF#000000##FFFFFF
##8D2A8B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#923757
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2a8b;
/* rgb */ color: rgb(141, 42, 139);
/* oklch */ color: oklch(47.4% 0.175 328.8);
Tailwind
colors: {
  custom: {
    50: '#b26dad',
    500: '#8d2a8b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a8b;
$custom-light: #b26dad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a8b",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 301.212,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.17453,
    "h": 328.8
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#8D2A8B
secondary
#5DB65F
accent
#DD4D4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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