#8E2192#8E2192

#8E2192 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.191 H 326.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8E2192
RGBrgb(142, 33, 146)
HSLhsl(298, 63%, 35%)
HSVhsv(298, 77%, 57%)
CMYKcmyk(2.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(35.82, 57.73, -37.87)
CIE-LCHlch(35.82, 69.04, 326.74°)
OKLaboklab(47.2% 0.1591 -0.1053)
OKLCHoklch(47.2% 0.191 326.5)
XYZxyz(16.8872, 8.9150, 28.0199)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2192 #259221
analogous
#552192 #8E2192 #92215E
triadic
#8E2192 #928E21 #21928E
tetradic
#8E2192 #925521 #259221 #215E92
square
#8E2192 #925521 #259221 #215E92
split-complementary
#8E2192 #5E9221 #219255
monochromatic
#2D0A2E #5D1660 #8E2192 #BF2CC4 #D455D9

Accessibility & contrast

On white

7.55
#8E2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2192
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2192#FFFFFF#000000##FFFFFF
##8E21921.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2192;
/* rgb */ color: rgb(142, 33, 146);
/* oklch */ color: oklch(47.2% 0.191 326.5);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8e2192',
    950: '#000000',
  },
}
SCSS
$custom: #8e2192;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2192",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 297.876,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47196,
    "c": 0.19076,
    "h": 326.5
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#8E2192
secondary
#56BC53
accent
#E64247
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2192

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

Preview Lab → · Contrast checker → · Palette generator →

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