#8D2E76#8D2E76

#8D2E76 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.153 H 338.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8D2E76
RGBrgb(141, 46, 118)
HSLhsl(315, 51%, 37%)
HSVhsv(315, 67%, 55%)
CMYKcmyk(0%, 67.4%, 16.3%, 44.7%)
CIE-LABlab(35.84, 48.13, -20.50)
CIE-LCHlch(35.84, 52.31, 336.93°)
OKLaboklab(46.7% 0.1423 -0.0554)
OKLCHoklch(46.7% 0.153 338.7)
XYZxyz(15.2318, 8.9261, 18.0567)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E76 #2E8D45
analogous
#752E8D #8D2E76 #8D2E47
triadic
#8D2E76 #768D2E #2E768D
tetradic
#8D2E76 #8D752E #2E8D45 #2E478D
square
#8D2E76 #8D752E #2E8D45 #2E478D
split-complementary
#8D2E76 #478D2E #2E8D75
monochromatic
#311029 #5F1F4F #8D2E76 #BB3D9D #CE68B5

Accessibility & contrast

On white

7.54
#8D2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2E76
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E76#FFFFFF#000000##FFFFFF
##8D2E761.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#95314E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2e76;
/* rgb */ color: rgb(141, 46, 118);
/* oklch */ color: oklch(46.7% 0.153 338.7);
Tailwind
colors: {
  custom: {
    50: '#b16e9d',
    500: '#8d2e76',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e76;
$custom-light: #b16e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e76",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 314.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46697,
    "c": 0.15274,
    "h": 338.7
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#8D2E76
secondary
#62B576
accent
#DA704E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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