#8D2287#8D2287

#8D2287 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.181 H 330.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8D2287
RGBrgb(141, 34, 135)
HSLhsl(303, 61%, 34%)
HSVhsv(303, 76%, 55%)
CMYKcmyk(0%, 75.9%, 4.3%, 44.7%)
CIE-LABlab(35.12, 55.34, -32.22)
CIE-LCHlch(35.12, 64.04, 329.79°)
OKLaboklab(46.46% 0.1572 -0.0889)
OKLCHoklch(46.46% 0.181 330.5)
XYZxyz(15.9297, 8.5573, 23.7297)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2287 #228D28
analogous
#5D228D #8D2287 #8D2252
triadic
#8D2287 #878D22 #22878D
tetradic
#8D2287 #8D5D22 #228D28 #22528D
square
#8D2287 #8D5D22 #228D28 #22528D
split-complementary
#8D2287 #528D22 #228D5D
monochromatic
#2A0A29 #5C1658 #8D2287 #BE2EB6 #D654CE

Accessibility & contrast

On white

7.75
#8D2287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D2287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2287
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2287#FFFFFF#000000##FFFFFF
##8D22871.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#933053
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2287;
/* rgb */ color: rgb(141, 34, 135);
/* oklch */ color: oklch(46.5% 0.181 330.5);
Tailwind
colors: {
  custom: {
    50: '#b269aa',
    500: '#8d2287',
    950: '#000000',
  },
}
SCSS
$custom: #8d2287;
$custom-light: #b269aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2287",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 303.364,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.1806,
    "h": 330.5
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#8D2287
secondary
#51B957
accent
#E44D44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2287

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

Preview Lab → · Contrast checker → · Palette generator →

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