#8E1585#8E1585

#8E1585 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 331.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8E1585
RGBrgb(142, 21, 133)
HSLhsl(304, 74%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 85.2%, 6.3%, 44.3%)
CIE-LABlab(33.95, 58.81, -32.83)
CIE-LCHlch(33.95, 67.35, 330.83°)
OKLaboklab(45.62% 0.1686 -0.0905)
OKLCHoklch(45.62% 0.191 331.8)
XYZxyz(15.6572, 7.9819, 22.9018)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1585 #158E1E
analogous
#5B158E #8E1585 #8E1549
triadic
#8E1585 #858E15 #15858E
tetradic
#8E1585 #8E5B15 #158E1E #15498E
square
#8E1585 #8E5B15 #158E1E #15498E
split-complementary
#8E1585 #498E15 #158E5B
monochromatic
#230521 #590D53 #8E1585 #C31DB7 #E23BD6

Accessibility & contrast

On white

8.09
#8E1585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1585
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1585#FFFFFF#000000##FFFFFF
##8E15851.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#415582
Tritanopia (blue-blind)
#94274F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1585;
/* rgb */ color: rgb(142, 21, 133);
/* oklch */ color: oklch(45.6% 0.191 331.8);
Tailwind
colors: {
  custom: {
    50: '#b365a9',
    500: '#8e1585',
    950: '#000000',
  },
}
SCSS
$custom: #8e1585;
$custom-light: #b365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1585",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 304.463,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.19137,
    "h": 331.8
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#8E1585
secondary
#3DC247
accent
#F14537
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1585

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

Preview Lab → · Contrast checker → · Palette generator →

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