#8D287E#8D287E

#8D287E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.167 H 334.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8D287E
RGBrgb(141, 40, 126)
HSLhsl(309, 56%, 35%)
HSVhsv(309, 72%, 55%)
CMYKcmyk(0%, 71.6%, 10.6%, 44.7%)
CIE-LABlab(35.38, 51.78, -26.23)
CIE-LCHlch(35.38, 58.04, 333.14°)
OKLaboklab(46.49% 0.1505 -0.0717)
OKLCHoklch(46.49% 0.167 334.5)
XYZxyz(15.5093, 8.6880, 20.5947)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D287E #288D37
analogous
#69288D #8D287E #8D284B
triadic
#8D287E #7E8D28 #287E8D
tetradic
#8D287E #8D6928 #288D37 #284B8D
square
#8D287E #8D6928 #288D37 #284B8D
split-complementary
#8D287E #4B8D28 #288D69
monochromatic
#2E0D29 #5D1A53 #8D287E #BD36A9 #D15EC0

Accessibility & contrast

On white

7.67
#8D287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D287E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D287E#FFFFFF#000000##FFFFFF
##8D287E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#943050
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d287e;
/* rgb */ color: rgb(141, 40, 126);
/* oklch */ color: oklch(46.5% 0.167 334.5);
Tailwind
colors: {
  custom: {
    50: '#b26ca3',
    500: '#8d287e',
    950: '#000000',
  },
}
SCSS
$custom: #8d287e;
$custom-light: #b26ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d287e",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 308.911,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.16672,
    "h": 334.5
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#8D287E
secondary
#5AB768
accent
#DF5F49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D287E

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

Preview Lab → · Contrast checker → · Palette generator →

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