#8D2281#8D2281

#8D2281 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.176 H 333.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8D2281
RGBrgb(141, 34, 129)
HSLhsl(307, 61%, 34%)
HSVhsv(307, 76%, 55%)
CMYKcmyk(0%, 75.9%, 8.5%, 44.7%)
CIE-LABlab(34.79, 54.37, -29.02)
CIE-LCHlch(34.79, 61.63, 331.91°)
OKLaboklab(46.11% 0.157 -0.0796)
OKLCHoklch(46.11% 0.176 333.1)
XYZxyz(15.5191, 8.3931, 21.5673)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2281 #228D2E
analogous
#64228D #8D2281 #8D224C
triadic
#8D2281 #818D22 #22818D
tetradic
#8D2281 #8D6422 #228D2E #224C8D
square
#8D2281 #8D6422 #228D2E #224C8D
split-complementary
#8D2281 #4C8D22 #228D64
monochromatic
#2A0A27 #5C1654 #8D2281 #BE2EAE #D654C7

Accessibility & contrast

On white

7.84
#8D2281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D2281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2281
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2281#FFFFFF#000000##FFFFFF
##8D22811.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4884
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#932D4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2281;
/* rgb */ color: rgb(141, 34, 129);
/* oklch */ color: oklch(46.1% 0.176 333.1);
Tailwind
colors: {
  custom: {
    50: '#b269a6',
    500: '#8d2281',
    950: '#000000',
  },
}
SCSS
$custom: #8d2281;
$custom-light: #b269a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2281",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 306.729,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.17602,
    "h": 333.1
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#8D2281
secondary
#51B95D
accent
#E45644
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2281

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

Preview Lab → · Contrast checker → · Palette generator →

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