#8E288D#8E288D

#8E288D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.179 H 328.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8E288D
RGBrgb(142, 40, 141)
HSLhsl(301, 56%, 36%)
HSVhsv(301, 72%, 56%)
CMYKcmyk(0%, 71.8%, 0.7%, 44.3%)
CIE-LABlab(36.35, 54.51, -33.96)
CIE-LCHlch(36.35, 64.22, 328.08°)
OKLaboklab(47.48% 0.1525 -0.094)
OKLCHoklch(47.48% 0.179 328.4)
XYZxyz(16.7216, 9.1927, 26.0878)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E288D #288E29
analogous
#5C288E #8E288D #8E285A
triadic
#8E288D #8D8E28 #288D8E
tetradic
#8E288D #8E5C28 #288E29 #285A8E
square
#8E288D #8E5C28 #288E29 #285A8E
split-complementary
#8E288D #5A8E28 #288E5C
monochromatic
#2F0D2E #5E1B5E #8E288D #BE35BC #D25FD1

Accessibility & contrast

On white

7.40
#8E288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E288D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E288D#FFFFFF#000000##FFFFFF
##8E288D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#933758
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e288d;
/* rgb */ color: rgb(142, 40, 141);
/* oklch */ color: oklch(47.5% 0.179 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26caf',
    500: '#8e288d',
    950: '#000000',
  },
}
SCSS
$custom: #8e288d;
$custom-light: #b26caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e288d",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 300.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.17912,
    "h": 328.4
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E288D

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

Preview Lab → · Contrast checker → · Palette generator →

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