#8E2492#8E2492

#8E2492 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.188 H 326.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8E2492
RGBrgb(142, 36, 146)
HSLhsl(298, 60%, 36%)
HSVhsv(298, 75%, 57%)
CMYKcmyk(2.7%, 75.3%, 0%, 42.7%)
CIE-LABlab(36.16, 56.76, -37.33)
CIE-LCHlch(36.16, 67.94, 326.67°)
OKLaboklab(47.44% 0.1564 -0.1037)
OKLCHoklch(47.44% 0.188 326.4)
XYZxyz(16.9742, 9.0890, 28.0489)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2492 #289224
analogous
#572492 #8E2492 #92245F
triadic
#8E2492 #928E24 #24928E
tetradic
#8E2492 #925724 #289224 #245F92
square
#8E2492 #925724 #289224 #245F92
split-complementary
#8E2492 #5F9224 #249257
monochromatic
#2F0C30 #5E1861 #8E2492 #BE30C3 #D25AD6

Accessibility & contrast

On white

7.45
#8E2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2492
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2492#FFFFFF#000000##FFFFFF
##8E24921.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034D95
Deuteranopia (green-blind)
#3F5A8F
Tritanopia (blue-blind)
#923759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2492;
/* rgb */ color: rgb(142, 36, 146);
/* oklch */ color: oklch(47.4% 0.188 326.4);
Tailwind
colors: {
  custom: {
    50: '#b36bb2',
    500: '#8e2492',
    950: '#000000',
  },
}
SCSS
$custom: #8e2492;
$custom-light: #b36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2492",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 297.818,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.18767,
    "h": 326.4
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#8E2492
secondary
#5BBB57
accent
#E4444A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2492

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

Preview Lab → · Contrast checker → · Palette generator →

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