#8E1485#8E1485

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

Color values

HEX#8E1485
RGBrgb(142, 20, 133)
HSLhsl(304, 75%, 32%)
HSVhsv(304, 86%, 56%)
CMYKcmyk(0%, 85.9%, 6.3%, 44.3%)
CIE-LABlab(33.87, 59.03, -32.95)
CIE-LCHlch(33.87, 67.60, 330.83°)
OKLaboklab(45.56% 0.1692 -0.0909)
OKLCHoklch(45.56% 0.192 331.8)
XYZxyz(15.6392, 7.9459, 22.8958)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1485 #148E1D
analogous
#5A148E #8E1485 #8E1448
triadic
#8E1485 #858E14 #14858E
tetradic
#8E1485 #8E5A14 #148E1D #14488E
square
#8E1485 #8E5A14 #148E1D #14488E
split-complementary
#8E1485 #488E14 #148E5A
monochromatic
#230521 #580C53 #8E1485 #C41CB7 #E339D7

Accessibility & contrast

On white

8.11
#8E1485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1485
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1485#FFFFFF#000000##FFFFFF
##8E14851.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1485;
/* rgb */ color: rgb(142, 20, 133);
/* oklch */ color: oklch(45.6% 0.192 331.8);
Tailwind
colors: {
  custom: {
    50: '#b365a9',
    500: '#8e1485',
    950: '#000000',
  },
}
SCSS
$custom: #8e1485;
$custom-light: #b365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1485",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 133
  },
  "hsl": {
    "h": 304.426,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.19208,
    "h": 331.8
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#8E1485
secondary
#3CC246
accent
#F24436
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1485

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

Preview Lab → · Contrast checker → · Palette generator →

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