#8D2282#8D2282

#8D2282 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.177 H 332.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8D2282
RGBrgb(141, 34, 130)
HSLhsl(306, 61%, 34%)
HSVhsv(306, 76%, 55%)
CMYKcmyk(0%, 75.9%, 7.8%, 44.7%)
CIE-LABlab(34.84, 54.53, -29.56)
CIE-LCHlch(34.84, 62.02, 331.54°)
OKLaboklab(46.17% 0.157 -0.0812)
OKLCHoklch(46.17% 0.177 332.7)
XYZxyz(15.5859, 8.4198, 21.9191)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2282 #228D2D
analogous
#63228D #8D2282 #8D224D
triadic
#8D2282 #828D22 #22828D
tetradic
#8D2282 #8D6322 #228D2D #224D8D
square
#8D2282 #8D6322 #228D2D #224D8D
split-complementary
#8D2282 #4D8D22 #228D63
monochromatic
#2A0A27 #5C1655 #8D2282 #BE2EAF #D654C8

Accessibility & contrast

On white

7.83
#8D2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2282
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2282#FFFFFF#000000##FFFFFF
##8D22821.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4885
Deuteranopia (green-blind)
#46577F
Tritanopia (blue-blind)
#932E50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2282;
/* rgb */ color: rgb(141, 34, 130);
/* oklch */ color: oklch(46.2% 0.177 332.7);
Tailwind
colors: {
  custom: {
    50: '#b269a6',
    500: '#8d2282',
    950: '#000000',
  },
}
SCSS
$custom: #8d2282;
$custom-light: #b269a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2282",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 306.168,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.17678,
    "h": 332.7
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#8D2282
secondary
#51B95C
accent
#E45444
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2282

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

Preview Lab → · Contrast checker → · Palette generator →

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