#8D288F#8D288F

#8D288F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.180 H 327.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8D288F
RGBrgb(141, 40, 143)
HSLhsl(299, 56%, 36%)
HSVhsv(299, 72%, 56%)
CMYKcmyk(1.4%, 72%, 0%, 43.9%)
CIE-LABlab(36.30, 54.62, -35.28)
CIE-LCHlch(36.30, 65.03, 327.14°)
OKLaboklab(47.45% 0.1514 -0.0978)
OKLCHoklch(47.45% 0.18 327.1)
XYZxyz(16.7010, 9.1646, 26.8706)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D288F #2A8F28
analogous
#59288F #8D288F #8F285D
triadic
#8D288F #8F8D28 #288F8D
tetradic
#8D288F #8F5928 #2A8F28 #285D8F
square
#8D288F #8F5928 #2A8F28 #285D8F
split-complementary
#8D288F #5D8F28 #288F59
monochromatic
#2F0D2F #5E1B5F #8D288F #BC35BF #D05FD2

Accessibility & contrast

On white

7.41
#8D288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D288F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D288F#FFFFFF#000000##FFFFFF
##8D288F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#913859
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d288f;
/* rgb */ color: rgb(141, 40, 143);
/* oklch */ color: oklch(47.4% 0.180 327.1);
Tailwind
colors: {
  custom: {
    50: '#b26cb0',
    500: '#8d288f',
    950: '#000000',
  },
}
SCSS
$custom: #8d288f;
$custom-light: #b26cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d288f",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 298.835,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.18024,
    "h": 327.1
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#8D288F
secondary
#5DB85B
accent
#E0484B
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D288F

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

Preview Lab → · Contrast checker → · Palette generator →

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