#8E2DAC#8E2DAC

#8E2DAC is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.200 H 316.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8E2DAC
RGBrgb(142, 45, 172)
HSLhsl(286, 59%, 43%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17.4%, 73.8%, 0%, 32.5%)
CIE-LABlab(38.91, 58.41, -48.61)
CIE-LCHlch(38.91, 75.99, 320.23°)
OKLaboklab(49.92% 0.1459 -0.1368)
OKLCHoklch(49.92% 0.2 316.9)
XYZxyz(19.5390, 10.6069, 40.0398)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DAC #4BAC2D
analogous
#4F2DAC #8E2DAC #AC2D8A
triadic
#8E2DAC #AC8E2D #2DAC8E
tetradic
#8E2DAC #AC4F2D #4BAC2D #2D8AAC
square
#8E2DAC #AC4F2D #4BAC2D #2D8AAC
split-complementary
#8E2DAC #8AAC2D #2DAC4F
monochromatic
#3E144B #66207B #8E2DAC #AF47CF #C478DC

Accessibility & contrast

On white

6.73
#8E2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8E2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DAC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DAC#FFFFFF#000000##FFFFFF
##8E2DAC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2dac;
/* rgb */ color: rgb(142, 45, 172);
/* oklch */ color: oklch(49.9% 0.200 316.9);
Tailwind
colors: {
  custom: {
    50: '#b370c5',
    500: '#8e2dac',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dac;
$custom-light: #b370c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dac",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 285.827,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49921,
    "c": 0.2,
    "h": 316.9
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#8E2DAC
secondary
#85C471
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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