#8D288A#8D288A

#8D288A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.176 H 329.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8D288A
RGBrgb(141, 40, 138)
HSLhsl(302, 56%, 35%)
HSVhsv(302, 72%, 55%)
CMYKcmyk(0%, 71.6%, 2.1%, 44.7%)
CIE-LABlab(36.02, 53.76, -32.65)
CIE-LCHlch(36.02, 62.90, 328.72°)
OKLaboklab(47.15% 0.1513 -0.0902)
OKLCHoklch(47.15% 0.176 329.2)
XYZxyz(16.3306, 9.0165, 24.9201)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D288A #288D2B
analogous
#5D288D #8D288A #8D2857
triadic
#8D288A #8A8D28 #288A8D
tetradic
#8D288A #8D5D28 #288D2B #28578D
square
#8D288A #8D5D28 #288D2B #28578D
split-complementary
#8D288A #578D28 #288D5D
monochromatic
#2E0D2D #5D1A5B #8D288A #BD36B9 #D15ECE

Accessibility & contrast

On white

7.49
#8D288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D288A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D288A#FFFFFF#000000##FFFFFF
##8D288A1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#923656
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d288a;
/* rgb */ color: rgb(141, 40, 138);
/* oklch */ color: oklch(47.2% 0.176 329.2);
Tailwind
colors: {
  custom: {
    50: '#b26cac',
    500: '#8d288a',
    950: '#000000',
  },
}
SCSS
$custom: #8d288a;
$custom-light: #b26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d288a",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 301.782,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.17616,
    "h": 329.2
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

primary
#8D288A
secondary
#5AB75D
accent
#DF4D49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D288A

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

Preview Lab → · Contrast checker → · Palette generator →

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