#8E2CA6#8E2CA6

#8E2CA6 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.196 H 318.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8E2CA6
RGBrgb(142, 44, 166)
HSLhsl(288, 58%, 41%)
HSVhsv(288, 73%, 65%)
CMYKcmyk(14.5%, 73.5%, 0%, 34.9%)
CIE-LABlab(38.39, 57.61, -45.87)
CIE-LCHlch(38.39, 73.64, 321.47°)
OKLaboklab(49.42% 0.1475 -0.1287)
OKLCHoklch(49.42% 0.196 318.9)
XYZxyz(18.9380, 10.3062, 37.0608)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CA6 #44A62C
analogous
#512CA6 #8E2CA6 #A62C81
triadic
#8E2CA6 #A68E2C #2CA68E
tetradic
#8E2CA6 #A6512C #44A62C #2C81A6
square
#8E2CA6 #A6512C #44A62C #2C81A6
split-complementary
#8E2CA6 #81A62C #2CA651
monochromatic
#3B1245 #651F76 #8E2CA6 #B242CD #C573DA

Accessibility & contrast

On white

6.86
#8E2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8E2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CA6
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CA6#FFFFFF#000000##FFFFFF
##8E2CA61.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#8E4467
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2ca6;
/* rgb */ color: rgb(142, 44, 166);
/* oklch */ color: oklch(49.4% 0.196 318.9);
Tailwind
colors: {
  custom: {
    50: '#b36fc1',
    500: '#8e2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ca6;
$custom-light: #b36fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ca6",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 288.197,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.19579,
    "h": 318.9
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#8E2CA6
secondary
#7DC16D
accent
#E14665
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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