#8E2CAC#8E2CAC

#8E2CAC is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.201 H 316.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8E2CAC
RGBrgb(142, 44, 172)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(38.78, 58.78, -48.82)
CIE-LCHlch(38.78, 76.41, 320.29°)
OKLaboklab(49.83% 0.1469 -0.1374)
OKLCHoklch(49.83% 0.201 316.9)
XYZxyz(19.5013, 10.5315, 40.0273)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CAC #4AAC2C
analogous
#4E2CAC #8E2CAC #AC2C8A
triadic
#8E2CAC #AC8E2C #2CAC8E
tetradic
#8E2CAC #AC4E2C #4AAC2C #2C8AAC
square
#8E2CAC #AC4E2C #4AAC2C #2C8AAC
split-complementary
#8E2CAC #8AAC2C #2CAC4E
monochromatic
#3E134B #66207B #8E2CAC #AF46D0 #C476DC

Accessibility & contrast

On white

6.76
#8E2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8E2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CAC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CAC#FFFFFF#000000##FFFFFF
##8E2CAC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#8C476A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2cac;
/* rgb */ color: rgb(142, 44, 172);
/* oklch */ color: oklch(49.8% 0.201 316.9);
Tailwind
colors: {
  custom: {
    50: '#b36fc5',
    500: '#8e2cac',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cac;
$custom-light: #b36fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cac",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 285.938,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49828,
    "c": 0.20112,
    "h": 316.9
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#8E2CAC
secondary
#84C470
accent
#E2456A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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