#8D288C#8D288C

#8D288C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.178 H 328.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8D288C
RGBrgb(141, 40, 140)
HSLhsl(301, 56%, 35%)
HSVhsv(301, 72%, 55%)
CMYKcmyk(0%, 71.6%, 0.7%, 44.7%)
CIE-LABlab(36.13, 54.10, -33.71)
CIE-LCHlch(36.13, 63.74, 328.08°)
OKLaboklab(47.27% 0.1514 -0.0933)
OKLCHoklch(47.27% 0.178 328.4)
XYZxyz(16.4767, 9.0749, 25.6897)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D288C #288D29
analogous
#5B288D #8D288C #8D2859
triadic
#8D288C #8C8D28 #288C8D
tetradic
#8D288C #8D5B28 #288D29 #28598D
square
#8D288C #8D5B28 #288D29 #28598D
split-complementary
#8D288C #598D28 #288D5B
monochromatic
#2E0D2D #5D1A5D #8D288C #BD36BB #D15ED0

Accessibility & contrast

On white

7.46
#8D288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D288C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D288C#FFFFFF#000000##FFFFFF
##8D288C1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#435A89
Tritanopia (blue-blind)
#923757
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d288c;
/* rgb */ color: rgb(141, 40, 140);
/* oklch */ color: oklch(47.3% 0.178 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26cae',
    500: '#8d288c',
    950: '#000000',
  },
}
SCSS
$custom: #8d288c;
$custom-light: #b26cae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d288c",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 300.594,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.17778,
    "h": 328.4
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#8D288C
secondary
#5AB75B
accent
#DF4A49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D288C

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

Preview Lab → · Contrast checker → · Palette generator →

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