#8D2F80#8D2F80

#8D2F80 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.159 H 333.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8D2F80
RGBrgb(141, 47, 128)
HSLhsl(308, 50%, 37%)
HSVhsv(308, 67%, 55%)
CMYKcmyk(0%, 66.7%, 9.2%, 44.7%)
CIE-LABlab(36.47, 49.31, -25.75)
CIE-LCHlch(36.47, 55.64, 332.42°)
OKLaboklab(47.31% 0.1426 -0.0704)
OKLCHoklch(47.31% 0.159 333.7)
XYZxyz(15.8974, 9.2555, 21.3671)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F80 #2F8D3C
analogous
#6B2F8D #8D2F80 #8D2F51
triadic
#8D2F80 #808D2F #2F808D
tetradic
#8D2F80 #8D6B2F #2F8D3C #2F518D
square
#8D2F80 #8D6B2F #2F8D3C #2F518D
split-complementary
#8D2F80 #518D2F #2F8D6B
monochromatic
#31102D #5F2056 #8D2F80 #BB3EAA #CD69BF

Accessibility & contrast

On white

7.37
#8D2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F80
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F80#FFFFFF#000000##FFFFFF
##8D2F801.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D82
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#933653
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2f80;
/* rgb */ color: rgb(141, 47, 128);
/* oklch */ color: oklch(47.3% 0.159 333.7);
Tailwind
colors: {
  custom: {
    50: '#b16fa5',
    500: '#8d2f80',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f80;
$custom-light: #b16fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f80",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 308.298,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.159,
    "h": 333.7
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#8D2F80
secondary
#64B46F
accent
#DA624E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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