#8D2D81#8D2D81

#8D2D81 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 333.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2D81
RGBrgb(141, 45, 129)
HSLhsl(308, 52%, 36%)
HSVhsv(308, 68%, 55%)
CMYKcmyk(0%, 68.1%, 8.5%, 44.7%)
CIE-LABlab(36.23, 50.31, -26.76)
CIE-LCHlch(36.23, 56.98, 331.99°)
OKLaboklab(47.15% 0.1451 -0.0732)
OKLCHoklch(47.15% 0.163 333.2)
XYZxyz(15.8854, 9.1257, 21.6894)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D81 #2D8D39
analogous
#692D8D #8D2D81 #8D2D51
triadic
#8D2D81 #818D2D #2D818D
tetradic
#8D2D81 #8D692D #2D8D39 #2D518D
square
#8D2D81 #8D692D #2D8D39 #2D518D
split-complementary
#8D2D81 #518D2D #2D8D69
monochromatic
#300F2C #5F1E57 #8D2D81 #BB3CAB #CE66C1

Accessibility & contrast

On white

7.43
#8D2D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D2D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D81
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D81#FFFFFF#000000##FFFFFF
##8D2D811.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C83
Deuteranopia (green-blind)
#4B5A7F
Tritanopia (blue-blind)
#933553
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2d81;
/* rgb */ color: rgb(141, 45, 129);
/* oklch */ color: oklch(47.1% 0.163 333.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea6',
    500: '#8d2d81',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d81;
$custom-light: #b16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d81",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 307.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.16255,
    "h": 333.2
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#8D2D81
secondary
#61B56B
accent
#DB5F4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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