#8E2293#8E2293

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

Color values

HEX#8E2293
RGBrgb(142, 34, 147)
HSLhsl(297, 62%, 35%)
HSVhsv(297, 77%, 58%)
CMYKcmyk(3.4%, 76.9%, 0%, 42.4%)
CIE-LABlab(35.99, 57.59, -38.21)
CIE-LCHlch(35.99, 69.11, 326.43°)
OKLaboklab(47.34% 0.1582 -0.1063)
OKLCHoklch(47.34% 0.191 326.1)
XYZxyz(16.9935, 9.0026, 28.4407)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2293 #279322
analogous
#552293 #8E2293 #93225F
triadic
#8E2293 #938E22 #22938E
tetradic
#8E2293 #935522 #279322 #225F93
square
#8E2293 #935522 #279322 #225F93
split-complementary
#8E2293 #5F9322 #229355
monochromatic
#2E0B30 #5E1761 #8E2293 #BE2DC5 #D257D8

Accessibility & contrast

On white

7.50
#8E2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2293
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2293#FFFFFF#000000##FFFFFF
##8E22931.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2293;
/* rgb */ color: rgb(142, 34, 147);
/* oklch */ color: oklch(47.3% 0.191 326.1);
Tailwind
colors: {
  custom: {
    50: '#b36ab3',
    500: '#8e2293',
    950: '#000000',
  },
}
SCSS
$custom: #8e2293;
$custom-light: #b36ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2293",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 297.345,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.19055,
    "h": 326.1
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#8E2293
secondary
#59BC55
accent
#E5424A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2293

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

Preview Lab → · Contrast checker → · Palette generator →

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