#8E2394#8E2394

#8E2394 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.190 H 325.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8E2394
RGBrgb(142, 35, 148)
HSLhsl(297, 62%, 36%)
HSVhsv(297, 76%, 58%)
CMYKcmyk(4.1%, 76.4%, 0%, 42%)
CIE-LABlab(36.16, 57.44, -38.55)
CIE-LCHlch(36.16, 69.17, 326.13°)
OKLaboklab(47.48% 0.1572 -0.1073)
OKLCHoklch(47.48% 0.19 325.7)
XYZxyz(17.1013, 9.0921, 28.8654)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2394 #299423
analogous
#552394 #8E2394 #942361
triadic
#8E2394 #948E23 #23948E
tetradic
#8E2394 #945523 #299423 #236194
square
#8E2394 #945523 #299423 #236194
split-complementary
#8E2394 #619423 #239455
monochromatic
#2F0C31 #5F1763 #8E2394 #BD2FC5 #D15AD8

Accessibility & contrast

On white

7.45
#8E2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2394
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2394#FFFFFF#000000##FFFFFF
##8E23941.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#3D5A91
Tritanopia (blue-blind)
#92375A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2394;
/* rgb */ color: rgb(142, 35, 148);
/* oklch */ color: oklch(47.5% 0.190 325.7);
Tailwind
colors: {
  custom: {
    50: '#b36ab4',
    500: '#8e2394',
    950: '#000000',
  },
}
SCSS
$custom: #8e2394;
$custom-light: #b36ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2394",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 296.814,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.19034,
    "h": 325.7
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#8E2394
secondary
#5CBC57
accent
#E5434C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2394

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

Preview Lab → · Contrast checker → · Palette generator →

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