#8E2392#8E2392

#8E2392 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.189 H 326.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8E2392
RGBrgb(142, 35, 146)
HSLhsl(298, 61%, 35%)
HSVhsv(298, 76%, 57%)
CMYKcmyk(2.7%, 76%, 0%, 42.7%)
CIE-LABlab(36.04, 57.09, -37.52)
CIE-LCHlch(36.04, 68.32, 326.69°)
OKLaboklab(47.35% 0.1573 -0.1043)
OKLCHoklch(47.35% 0.189 326.5)
XYZxyz(16.9444, 9.0293, 28.0389)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2392 #279223
analogous
#562392 #8E2392 #92235E
triadic
#8E2392 #928E23 #23928E
tetradic
#8E2392 #925623 #279223 #235E92
square
#8E2392 #925623 #279223 #235E92
split-complementary
#8E2392 #5E9223 #239256
monochromatic
#2E0B2F #5E1761 #8E2392 #BE2FC3 #D258D7

Accessibility & contrast

On white

7.49
#8E2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2392
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2392#FFFFFF#000000##FFFFFF
##8E23921.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#3E598F
Tritanopia (blue-blind)
#923659
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2392;
/* rgb */ color: rgb(142, 35, 146);
/* oklch */ color: oklch(47.4% 0.189 326.5);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8e2392',
    950: '#000000',
  },
}
SCSS
$custom: #8e2392;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2392",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 297.838,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.18872,
    "h": 326.5
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#8E2392
secondary
#59BB55
accent
#E44349
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2392

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

Preview Lab → · Contrast checker → · Palette generator →

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