#8E2EAC#8E2EAC

#8E2EAC is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.199 H 316.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8E2EAC
RGBrgb(142, 46, 172)
HSLhsl(286, 58%, 43%)
HSVhsv(286, 73%, 67%)
CMYKcmyk(17.4%, 73.3%, 0%, 32.5%)
CIE-LABlab(39.04, 58.03, -48.40)
CIE-LCHlch(39.04, 75.57, 320.17°)
OKLaboklab(50.02% 0.145 -0.1362)
OKLCHoklch(50.02% 0.199 316.8)
XYZxyz(19.5776, 10.6841, 40.0527)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EAC #4CAC2E
analogous
#4F2EAC #8E2EAC #AC2E8B
triadic
#8E2EAC #AC8E2E #2EAC8E
tetradic
#8E2EAC #AC4F2E #4CAC2E #2E8BAC
square
#8E2EAC #AC4F2E #4CAC2E #2E8BAC
split-complementary
#8E2EAC #8BAC2E #2EAC4F
monochromatic
#3E144B #66217C #8E2EAC #AF49CE #C479DB

Accessibility & contrast

On white

6.70
#8E2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8E2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EAC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EAC#FFFFFF#000000##FFFFFF
##8E2EAC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#8C486A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2eac;
/* rgb */ color: rgb(142, 46, 172);
/* oklch */ color: oklch(50.0% 0.199 316.8);
Tailwind
colors: {
  custom: {
    50: '#b370c5',
    500: '#8e2eac',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eac;
$custom-light: #b370c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eac",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 285.714,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.19887,
    "h": 316.8
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#8E2EAC
secondary
#86C372
accent
#E1476B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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