#8D288E#8D288E

#8D288E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.179 H 327.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D288E
RGBrgb(141, 40, 142)
HSLhsl(299, 56%, 36%)
HSVhsv(299, 72%, 56%)
CMYKcmyk(0.7%, 71.8%, 0%, 44.3%)
CIE-LABlab(36.24, 54.45, -34.76)
CIE-LCHlch(36.24, 64.60, 327.45°)
OKLaboklab(47.39% 0.1514 -0.0963)
OKLCHoklch(47.39% 0.179 327.5)
XYZxyz(16.6255, 9.1345, 26.4734)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D288E #298E28
analogous
#5A288E #8D288E #8E285C
triadic
#8D288E #8E8D28 #288E8D
tetradic
#8D288E #8E5A28 #298E28 #285C8E
square
#8D288E #8E5A28 #298E28 #285C8E
split-complementary
#8D288E #5C8E28 #288E5A
monochromatic
#2E0D2F #5E1B5E #8D288E #BC35BE #D15FD2

Accessibility & contrast

On white

7.43
#8D288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D288E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D288E#FFFFFF#000000##FFFFFF
##8D288E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#913758
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d288e;
/* rgb */ color: rgb(141, 40, 142);
/* oklch */ color: oklch(47.4% 0.179 327.5);
Tailwind
colors: {
  custom: {
    50: '#b26caf',
    500: '#8d288e',
    950: '#000000',
  },
}
SCSS
$custom: #8d288e;
$custom-light: #b26caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d288e",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 299.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.17942,
    "h": 327.5
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#8D288E
secondary
#5BB75B
accent
#DF484A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D288E

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

Preview Lab → · Contrast checker → · Palette generator →

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