#8D287D#8D287D

#8D287D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.166 H 335.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8D287D
RGBrgb(141, 40, 125)
HSLhsl(310, 56%, 35%)
HSVhsv(310, 72%, 55%)
CMYKcmyk(0%, 71.6%, 11.3%, 44.7%)
CIE-LABlab(35.33, 51.62, -25.68)
CIE-LCHlch(35.33, 57.65, 333.55°)
OKLaboklab(46.43% 0.1504 -0.0701)
OKLCHoklch(46.43% 0.166 335)
XYZxyz(15.4451, 8.6623, 20.2566)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D287D #288D38
analogous
#6A288D #8D287D #8D284A
triadic
#8D287D #7D8D28 #287D8D
tetradic
#8D287D #8D6A28 #288D38 #284A8D
square
#8D287D #8D6A28 #288D38 #284A8D
split-complementary
#8D287D #4A8D28 #288D6A
monochromatic
#2E0D28 #5D1A53 #8D287D #BD36A7 #D15EBF

Accessibility & contrast

On white

7.69
#8D287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D287D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D287D#FFFFFF#000000##FFFFFF
##8D287D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497F
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#94304F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d287d;
/* rgb */ color: rgb(141, 40, 125);
/* oklch */ color: oklch(46.4% 0.166 335.0);
Tailwind
colors: {
  custom: {
    50: '#b26ca3',
    500: '#8d287d',
    950: '#000000',
  },
}
SCSS
$custom: #8d287d;
$custom-light: #b26ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d287d",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 309.505,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.16596,
    "h": 335
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#8D287D
secondary
#5AB769
accent
#DF6149
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D287D

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

Preview Lab → · Contrast checker → · Palette generator →

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