#8E2489#8E2489

#8E2489 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.181 H 330.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8E2489
RGBrgb(142, 36, 137)
HSLhsl(303, 60%, 35%)
HSVhsv(303, 75%, 56%)
CMYKcmyk(0%, 74.6%, 3.5%, 44.3%)
CIE-LABlab(35.64, 55.23, -32.63)
CIE-LCHlch(35.64, 64.15, 329.43°)
OKLaboklab(46.9% 0.1564 -0.0901)
OKLCHoklch(46.9% 0.181 330.1)
XYZxyz(16.3015, 8.8199, 24.5059)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2489 #248E29
analogous
#5E248E #8E2489 #8E2454
triadic
#8E2489 #898E24 #24898E
tetradic
#8E2489 #8E5E24 #248E29 #24548E
square
#8E2489 #8E5E24 #248E29 #24548E
split-complementary
#8E2489 #548E24 #248E5E
monochromatic
#2C0B2B #5D185A #8E2489 #BF30B8 #D558CF

Accessibility & contrast

On white

7.60
#8E2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8E2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2489
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2489#FFFFFF#000000##FFFFFF
##8E24891.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#933254
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2489;
/* rgb */ color: rgb(142, 36, 137);
/* oklch */ color: oklch(46.9% 0.181 330.1);
Tailwind
colors: {
  custom: {
    50: '#b26aac',
    500: '#8e2489',
    950: '#000000',
  },
}
SCSS
$custom: #8e2489;
$custom-light: #b26aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2489",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 302.83,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.18051,
    "h": 330.1
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#8E2489
secondary
#55B95A
accent
#E34D45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2489

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

Preview Lab → · Contrast checker → · Palette generator →

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