#8E2794#8E2794

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

Color values

HEX#8E2794
RGBrgb(142, 39, 148)
HSLhsl(297, 58%, 37%)
HSVhsv(297, 74%, 58%)
CMYKcmyk(4.1%, 73.6%, 0%, 42%)
CIE-LABlab(36.63, 56.09, -37.80)
CIE-LCHlch(36.63, 67.63, 326.03°)
OKLaboklab(47.81% 0.1535 -0.1051)
OKLCHoklch(47.81% 0.186 325.6)
XYZxyz(17.2258, 9.3411, 28.9069)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2794 #2D9427
analogous
#582794 #8E2794 #942764
triadic
#8E2794 #948E27 #27948E
tetradic
#8E2794 #945827 #2D9427 #276494
square
#8E2794 #945827 #2D9427 #276494
split-complementary
#8E2794 #649427 #279458
monochromatic
#310D33 #601A64 #8E2794 #BC34C4 #CF60D5

Accessibility & contrast

On white

7.32
#8E2794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2794
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2794#FFFFFF#000000##FFFFFF
##8E27941.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064E97
Deuteranopia (green-blind)
#3F5B91
Tritanopia (blue-blind)
#91395B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2794;
/* rgb */ color: rgb(142, 39, 148);
/* oklch */ color: oklch(47.8% 0.186 325.6);
Tailwind
colors: {
  custom: {
    50: '#b36cb4',
    500: '#8e2794',
    950: '#000000',
  },
}
SCSS
$custom: #8e2794;
$custom-light: #b36cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2794",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 296.697,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.18602,
    "h": 325.6
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#8E2794
secondary
#61BB5C
accent
#E2464F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2794

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

Preview Lab → · Contrast checker → · Palette generator →

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