#8E2885#8E2885

#8E2885 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.173 H 331.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8E2885
RGBrgb(142, 40, 133)
HSLhsl(305, 56%, 36%)
HSVhsv(305, 72%, 56%)
CMYKcmyk(0%, 71.8%, 6.3%, 44.3%)
CIE-LABlab(35.91, 53.16, -29.72)
CIE-LCHlch(35.91, 60.90, 330.79°)
OKLaboklab(47.02% 0.1522 -0.0817)
OKLCHoklch(47.02% 0.173 331.8)
XYZxyz(16.1478, 8.9631, 23.0653)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2885 #288E31
analogous
#64288E #8E2885 #8E2852
triadic
#8E2885 #858E28 #28858E
tetradic
#8E2885 #8E6428 #288E31 #28528E
square
#8E2885 #8E6428 #288E31 #28528E
split-complementary
#8E2885 #528E28 #288E64
monochromatic
#2F0D2C #5E1B58 #8E2885 #BE35B2 #D25FC8

Accessibility & contrast

On white

7.52
#8E2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E2885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2885
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2885#FFFFFF#000000##FFFFFF
##8E28851.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#485A82
Tritanopia (blue-blind)
#943353
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2885;
/* rgb */ color: rgb(142, 40, 133);
/* oklch */ color: oklch(47.0% 0.173 331.8);
Tailwind
colors: {
  custom: {
    50: '#b26ca9',
    500: '#8e2885',
    950: '#000000',
  },
}
SCSS
$custom: #8e2885;
$custom-light: #b26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2885",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 305.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47024,
    "c": 0.17272,
    "h": 331.8
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#8E2885
secondary
#5BB763
accent
#DF5648
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2885

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

Preview Lab → · Contrast checker → · Palette generator →

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