#8D2E80#8D2E80

#8D2E80 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.160 H 333.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8D2E80
RGBrgb(141, 46, 128)
HSLhsl(308, 51%, 37%)
HSVhsv(308, 67%, 55%)
CMYKcmyk(0%, 67.4%, 9.2%, 44.7%)
CIE-LABlab(36.32, 49.73, -25.99)
CIE-LCHlch(36.32, 56.11, 332.41°)
OKLaboklab(47.2% 0.1438 -0.071)
OKLCHoklch(47.2% 0.16 333.7)
XYZxyz(15.8579, 9.1765, 21.3539)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E80 #2E8D3B
analogous
#6B2E8D #8D2E80 #8D2E51
triadic
#8D2E80 #808D2E #2E808D
tetradic
#8D2E80 #8D6B2E #2E8D3B #2E518D
square
#8D2E80 #8D6B2E #2E8D3B #2E518D
split-complementary
#8D2E80 #518D2E #2E8D6B
monochromatic
#31102C #5F1F56 #8D2E80 #BB3DAA #CE68C0

Accessibility & contrast

On white

7.41
#8D2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E80
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E80#FFFFFF#000000##FFFFFF
##8D2E801.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D82
Deuteranopia (green-blind)
#4C5A7E
Tritanopia (blue-blind)
#933653
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2e80;
/* rgb */ color: rgb(141, 46, 128);
/* oklch */ color: oklch(47.2% 0.160 333.7);
Tailwind
colors: {
  custom: {
    50: '#b16ea5',
    500: '#8d2e80',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e80;
$custom-light: #b16ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e80",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 308.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.16039,
    "h": 333.7
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#8D2E80
secondary
#62B56E
accent
#DA614E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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