#8E2294#8E2294

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

Color values

HEX#8E2294
RGBrgb(142, 34, 148)
HSLhsl(297, 63%, 36%)
HSVhsv(297, 77%, 58%)
CMYKcmyk(4.1%, 77%, 0%, 42%)
CIE-LABlab(36.05, 57.76, -38.72)
CIE-LCHlch(36.05, 69.54, 326.16°)
OKLaboklab(47.4% 0.1581 -0.1078)
OKLCHoklch(47.4% 0.191 325.7)
XYZxyz(17.0723, 9.0341, 28.8558)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2294 #289422
analogous
#552294 #8E2294 #942261
triadic
#8E2294 #948E22 #22948E
tetradic
#8E2294 #945522 #289422 #226194
square
#8E2294 #945522 #289422 #226194
split-complementary
#8E2294 #619422 #229455
monochromatic
#2E0B30 #5E1762 #8E2294 #BE2DC6 #D258D9

Accessibility & contrast

On white

7.48
#8E2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2294
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2294#FFFFFF#000000##FFFFFF
##8E22941.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#3C5991
Tritanopia (blue-blind)
#92365A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2294;
/* rgb */ color: rgb(142, 34, 148);
/* oklch */ color: oklch(47.4% 0.191 325.7);
Tailwind
colors: {
  custom: {
    50: '#b36ab4',
    500: '#8e2294',
    950: '#000000',
  },
}
SCSS
$custom: #8e2294;
$custom-light: #b36ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2294",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 296.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.19136,
    "h": 325.7
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#8E2294
secondary
#5BBD55
accent
#E6424B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2294

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

Preview Lab → · Contrast checker → · Palette generator →

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