#8D2B8A#8D2B8A

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

Color values

HEX#8D2B8A
RGBrgb(141, 43, 138)
HSLhsl(302, 53%, 36%)
HSVhsv(302, 70%, 55%)
CMYKcmyk(0%, 69.5%, 2.1%, 44.7%)
CIE-LABlab(36.42, 52.63, -32.02)
CIE-LCHlch(36.42, 61.60, 328.68°)
OKLaboklab(47.44% 0.1481 -0.0884)
OKLCHoklch(47.44% 0.172 329.2)
XYZxyz(16.4357, 9.2266, 24.9551)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B8A #2B8D2E
analogous
#5F2B8D #8D2B8A #8D2B59
triadic
#8D2B8A #8A8D2B #2B8A8D
tetradic
#8D2B8A #8D5F2B #2B8D2E #2B598D
square
#8D2B8A #8D5F2B #2B8D2E #2B598D
split-complementary
#8D2B8A #598D2B #2B8D5F
monochromatic
#2F0E2E #5E1D5C #8D2B8A #BC39B8 #CF63CC

Accessibility & contrast

On white

7.38
#8D2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2B8A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2B8A#FFFFFF#000000##FFFFFF
##8D2B8A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#923857
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2b8a;
/* rgb */ color: rgb(141, 43, 138);
/* oklch */ color: oklch(47.4% 0.172 329.2);
Tailwind
colors: {
  custom: {
    50: '#b16dac',
    500: '#8d2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b8a;
$custom-light: #b16dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b8a",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 301.837,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47443,
    "c": 0.17245,
    "h": 329.2
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#8D2B8A
secondary
#5EB661
accent
#DD504B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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