#8D288B#8D288B

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

Color values

HEX#8D288B
RGBrgb(141, 40, 139)
HSLhsl(301, 56%, 35%)
HSVhsv(301, 72%, 55%)
CMYKcmyk(0%, 71.6%, 1.4%, 44.7%)
CIE-LABlab(36.07, 53.93, -33.18)
CIE-LCHlch(36.07, 63.32, 328.40°)
OKLaboklab(47.21% 0.1513 -0.0917)
OKLCHoklch(47.21% 0.177 328.8)
XYZxyz(16.4033, 9.0456, 25.3031)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D288B #288D2A
analogous
#5C288D #8D288B #8D2858
triadic
#8D288B #8B8D28 #288B8D
tetradic
#8D288B #8D5C28 #288D2A #28588D
square
#8D288B #8D5C28 #288D2A #28588D
split-complementary
#8D288B #588D28 #288D5C
monochromatic
#2E0D2D #5D1A5C #8D288B #BD36BA #D15ECF

Accessibility & contrast

On white

7.48
#8D288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D288B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D288B#FFFFFF#000000##FFFFFF
##8D288B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#923657
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d288b;
/* rgb */ color: rgb(141, 40, 139);
/* oklch */ color: oklch(47.2% 0.177 328.8);
Tailwind
colors: {
  custom: {
    50: '#b26cad',
    500: '#8d288b',
    950: '#000000',
  },
}
SCSS
$custom: #8d288b;
$custom-light: #b26cad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d288b",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 301.188,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.17697,
    "h": 328.8
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#8D288B
secondary
#5AB75C
accent
#DF4C49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D288B

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

Preview Lab → · Contrast checker → · Palette generator →

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