#8E2793#8E2793

#8E2793 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.185 H 326.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8E2793
RGBrgb(142, 39, 147)
HSLhsl(297, 58%, 36%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(3.4%, 73.5%, 0%, 42.4%)
CIE-LABlab(36.57, 55.91, -37.28)
CIE-LCHlch(36.57, 67.20, 326.31°)
OKLaboklab(47.75% 0.1535 -0.1036)
OKLCHoklch(47.75% 0.185 326)
XYZxyz(17.1470, 9.3096, 28.4919)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2793 #2C9327
analogous
#582793 #8E2793 #932762
triadic
#8E2793 #938E27 #27938E
tetradic
#8E2793 #935827 #2C9327 #276293
square
#8E2793 #935827 #2C9327 #276293
split-complementary
#8E2793 #629327 #279358
monochromatic
#310D32 #5F1A63 #8E2793 #BD34C3 #CF60D5

Accessibility & contrast

On white

7.34
#8E2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2793
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2793#FFFFFF#000000##FFFFFF
##8E27931.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094E96
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#92395B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2793;
/* rgb */ color: rgb(142, 39, 147);
/* oklch */ color: oklch(47.8% 0.185 326.0);
Tailwind
colors: {
  custom: {
    50: '#b26cb3',
    500: '#8e2793',
    950: '#000000',
  },
}
SCSS
$custom: #8e2793;
$custom-light: #b26cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2793",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 297.222,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.18519,
    "h": 326
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#8E2793
secondary
#60BA5C
accent
#E1474E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2793

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

Preview Lab → · Contrast checker → · Palette generator →

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