#8E2292#8E2292

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

Color values

HEX#8E2292
RGBrgb(142, 34, 146)
HSLhsl(298, 62%, 35%)
HSVhsv(298, 77%, 57%)
CMYKcmyk(2.7%, 76.7%, 0%, 42.7%)
CIE-LABlab(35.93, 57.41, -37.69)
CIE-LCHlch(35.93, 68.68, 326.71°)
OKLaboklab(47.27% 0.1582 -0.1048)
OKLCHoklch(47.27% 0.19 326.5)
XYZxyz(16.9154, 8.9713, 28.0293)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2292 #269222
analogous
#562292 #8E2292 #92225E
triadic
#8E2292 #928E22 #22928E
tetradic
#8E2292 #925622 #269222 #225E92
square
#8E2292 #925622 #269222 #225E92
split-complementary
#8E2292 #5E9222 #229256
monochromatic
#2D0B2F #5E1660 #8E2292 #BE2EC4 #D357D8

Accessibility & contrast

On white

7.52
#8E2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8E2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2292
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2292#FFFFFF#000000##FFFFFF
##8E22921.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2292;
/* rgb */ color: rgb(142, 34, 146);
/* oklch */ color: oklch(47.3% 0.190 326.5);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8e2292',
    950: '#000000',
  },
}
SCSS
$custom: #8e2292;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2292",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 297.857,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.18975,
    "h": 326.5
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#8E2292
secondary
#58BC54
accent
#E54348
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2292

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

Preview Lab → · Contrast checker → · Palette generator →

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