#8D2284#8D2284

#8D2284 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.178 H 331.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8D2284
RGBrgb(141, 34, 132)
HSLhsl(305, 61%, 34%)
HSVhsv(305, 76%, 55%)
CMYKcmyk(0%, 75.9%, 6.4%, 44.7%)
CIE-LABlab(34.95, 54.85, -30.63)
CIE-LCHlch(34.95, 62.82, 330.82°)
OKLaboklab(46.28% 0.1571 -0.0843)
OKLCHoklch(46.28% 0.178 331.8)
XYZxyz(15.7214, 8.4740, 22.6330)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2284 #228D2B
analogous
#61228D #8D2284 #8D224F
triadic
#8D2284 #848D22 #22848D
tetradic
#8D2284 #8D6122 #228D2B #224F8D
square
#8D2284 #8D6122 #228D2B #224F8D
split-complementary
#8D2284 #4F8D22 #228D61
monochromatic
#2A0A28 #5C1656 #8D2284 #BE2EB2 #D654CB

Accessibility & contrast

On white

7.79
#8D2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2284
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2284#FFFFFF#000000##FFFFFF
##8D22841.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#932F51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2284;
/* rgb */ color: rgb(141, 34, 132);
/* oklch */ color: oklch(46.3% 0.178 331.8);
Tailwind
colors: {
  custom: {
    50: '#b269a8',
    500: '#8d2284',
    950: '#000000',
  },
}
SCSS
$custom: #8d2284;
$custom-light: #b269a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2284",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 305.047,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.1783,
    "h": 331.8
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#8D2284
secondary
#51B95A
accent
#E45144
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2284

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

Preview Lab → · Contrast checker → · Palette generator →

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