#8D2E81#8D2E81

#8D2E81 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.161 H 333.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8D2E81
RGBrgb(141, 46, 129)
HSLhsl(308, 51%, 37%)
HSVhsv(308, 67%, 55%)
CMYKcmyk(0%, 67.4%, 8.5%, 44.7%)
CIE-LABlab(36.37, 49.90, -26.53)
CIE-LCHlch(36.37, 56.51, 332.00°)
OKLaboklab(47.26% 0.1439 -0.0726)
OKLCHoklch(47.26% 0.161 333.2)
XYZxyz(15.9240, 9.2030, 21.7023)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E81 #2E8D3A
analogous
#6A2E8D #8D2E81 #8D2E52
triadic
#8D2E81 #818D2E #2E818D
tetradic
#8D2E81 #8D6A2E #2E8D3A #2E528D
square
#8D2E81 #8D6A2E #2E8D3A #2E528D
split-complementary
#8D2E81 #528D2E #2E8D6A
monochromatic
#31102D #5F1F57 #8D2E81 #BB3DAB #CE68C1

Accessibility & contrast

On white

7.39
#8D2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D2E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E81
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E81#FFFFFF#000000##FFFFFF
##8D2E811.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2e81;
/* rgb */ color: rgb(141, 46, 129);
/* oklch */ color: oklch(47.3% 0.161 333.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea6',
    500: '#8d2e81',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e81;
$custom-light: #b16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e81",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 307.579,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.16118,
    "h": 333.2
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#8D2E81
secondary
#62B56D
accent
#DA5F4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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