#8D2A80#8D2A80

#8D2A80 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.166 H 333.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8D2A80
RGBrgb(141, 42, 128)
HSLhsl(308, 54%, 36%)
HSVhsv(308, 70%, 55%)
CMYKcmyk(0%, 70.2%, 9.2%, 44.7%)
CIE-LABlab(35.75, 51.33, -26.89)
CIE-LCHlch(35.75, 57.95, 332.36°)
OKLaboklab(46.79% 0.1485 -0.0736)
OKLCHoklch(46.79% 0.166 333.6)
XYZxyz(15.7088, 8.8785, 21.3043)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A80 #2A8D37
analogous
#682A8D #8D2A80 #8D2A4E
triadic
#8D2A80 #808D2A #2A808D
tetradic
#8D2A80 #8D682A #2A8D37 #2A4E8D
square
#8D2A80 #8D682A #2A8D37 #2A4E8D
split-complementary
#8D2A80 #4E8D2A #2A8D68
monochromatic
#2F0E2A #5E1C55 #8D2A80 #BC38AB #D061C2

Accessibility & contrast

On white

7.57
#8D2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A80
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A80#FFFFFF#000000##FFFFFF
##8D2A801.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#4A597E
Tritanopia (blue-blind)
#943351
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2a80;
/* rgb */ color: rgb(141, 42, 128);
/* oklch */ color: oklch(46.8% 0.166 333.6);
Tailwind
colors: {
  custom: {
    50: '#b16da5',
    500: '#8d2a80',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a80;
$custom-light: #b16da5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a80",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 307.879,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.16572,
    "h": 333.6
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#8D2A80
secondary
#5DB669
accent
#DD5E4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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