#8E2EA4#8E2EA4

#8E2EA4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.192 H 319.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8E2EA4
RGBrgb(142, 46, 164)
HSLhsl(289, 56%, 41%)
HSVhsv(289, 72%, 64%)
CMYKcmyk(13.4%, 72%, 0%, 35.7%)
CIE-LABlab(38.53, 56.46, -44.45)
CIE-LCHlch(38.53, 71.86, 321.79°)
OKLaboklab(49.48% 0.1457 -0.1246)
OKLCHoklch(49.48% 0.192 319.5)
XYZxyz(18.8323, 10.3860, 36.1275)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EA4 #44A42E
analogous
#532EA4 #8E2EA4 #A42E7F
triadic
#8E2EA4 #A48E2E #2EA48E
tetradic
#8E2EA4 #A4532E #44A42E #2E7FA4
square
#8E2EA4 #A4532E #44A42E #2E7FA4
split-complementary
#8E2EA4 #7FA42E #2EA453
monochromatic
#3B1344 #652174 #8E2EA4 #B245CB #C574D8

Accessibility & contrast

On white

6.82
#8E2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8E2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EA4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EA4#FFFFFF#000000##FFFFFF
##8E2EA41.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#8E4566
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2ea4;
/* rgb */ color: rgb(142, 46, 164);
/* oklch */ color: oklch(49.5% 0.192 319.5);
Tailwind
colors: {
  custom: {
    50: '#b370bf',
    500: '#8e2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ea4;
$custom-light: #b370bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ea4",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 288.814,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.19167,
    "h": 319.5
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#8E2EA4
secondary
#7DC06E
accent
#DF4865
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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