#8D2B7F#8D2B7F

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

Color values

HEX#8D2B7F
RGBrgb(141, 43, 127)
HSLhsl(309, 53%, 36%)
HSVhsv(309, 70%, 55%)
CMYKcmyk(0%, 69.5%, 9.9%, 44.7%)
CIE-LABlab(35.84, 50.78, -26.13)
CIE-LCHlch(35.84, 57.11, 332.78°)
OKLaboklab(46.84% 0.1472 -0.0714)
OKLCHoklch(46.84% 0.164 334.1)
XYZxyz(15.6793, 8.9241, 20.9713)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B7F #2B8D39
analogous
#6A2B8D #8D2B7F #8D2B4E
triadic
#8D2B7F #7F8D2B #2B7F8D
tetradic
#8D2B7F #8D6A2B #2B8D39 #2B4E8D
square
#8D2B7F #8D6A2B #2B8D39 #2B4E8D
split-complementary
#8D2B7F #4E8D2B #2B8D6A
monochromatic
#2F0E2B #5E1D55 #8D2B7F #BC39A9 #CF63C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2B7F#FFFFFF#000000##FFFFFF
##8D2B7F1.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)
#294B81
Deuteranopia (green-blind)
#4B597D
Tritanopia (blue-blind)
#943351
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2b7f;
/* rgb */ color: rgb(141, 43, 127);
/* oklch */ color: oklch(46.8% 0.164 334.1);
Tailwind
colors: {
  custom: {
    50: '#b16da4',
    500: '#8d2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b7f;
$custom-light: #b16da4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b7f",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 308.571,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46836,
    "c": 0.16364,
    "h": 334.1
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#8D2B7F
secondary
#5EB66B
accent
#DD604B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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