#8E2193#8E2193

#8E2193 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.192 H 326.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8E2193
RGBrgb(142, 33, 147)
HSLhsl(297, 63%, 35%)
HSVhsv(297, 78%, 58%)
CMYKcmyk(3.4%, 77.6%, 0%, 42.4%)
CIE-LABlab(35.88, 57.90, -38.38)
CIE-LCHlch(35.88, 69.47, 326.46°)
OKLaboklab(47.26% 0.159 -0.1068)
OKLCHoklch(47.26% 0.192 326.1)
XYZxyz(16.9653, 8.9462, 28.4313)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2193 #269321
analogous
#552193 #8E2193 #93215F
triadic
#8E2193 #938E21 #21938E
tetradic
#8E2193 #935521 #269321 #215F93
square
#8E2193 #935521 #269321 #215F93
split-complementary
#8E2193 #5F9321 #219355
monochromatic
#2D0B2F #5E1661 #8E2193 #BE2CC5 #D355D9

Accessibility & contrast

On white

7.53
#8E2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2193
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2193#FFFFFF#000000##FFFFFF
##8E21931.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2193;
/* rgb */ color: rgb(142, 33, 147);
/* oklch */ color: oklch(47.3% 0.192 326.1);
Tailwind
colors: {
  custom: {
    50: '#b36ab3',
    500: '#8e2193',
    950: '#000000',
  },
}
SCSS
$custom: #8e2193;
$custom-light: #b36ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2193",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 297.368,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47259,
    "c": 0.19156,
    "h": 326.1
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#8E2193
secondary
#58BD53
accent
#E64149
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2193

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

Preview Lab → · Contrast checker → · Palette generator →

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