#8E2DAB#8E2DAB

#8E2DAB is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 317.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2DAB
RGBrgb(142, 45, 171)
HSLhsl(286, 58%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17%, 73.7%, 0%, 32.9%)
CIE-LABlab(38.84, 58.21, -48.12)
CIE-LCHlch(38.84, 75.53, 320.42°)
OKLaboklab(49.85% 0.146 -0.1353)
OKLCHoklch(49.85% 0.199 317.2)
XYZxyz(19.4433, 10.5687, 39.5360)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DAB #4AAB2D
analogous
#4F2DAB #8E2DAB #AB2D89
triadic
#8E2DAB #AB8E2D #2DAB8E
tetradic
#8E2DAB #AB4F2D #4AAB2D #2D89AB
square
#8E2DAB #AB4F2D #4AAB2D #2D89AB
split-complementary
#8E2DAB #89AB2D #2DAB4F
monochromatic
#3E144A #66207B #8E2DAB #AF47CE #C477DB

Accessibility & contrast

On white

6.74
#8E2DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2DAB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DAB#FFFFFF#000000##FFFFFF
##8E2DAB1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#8D476A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2dab;
/* rgb */ color: rgb(142, 45, 171);
/* oklch */ color: oklch(49.9% 0.199 317.2);
Tailwind
colors: {
  custom: {
    50: '#b370c5',
    500: '#8e2dab',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dab;
$custom-light: #b370c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dab",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 286.19,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.1991,
    "h": 317.2
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#8E2DAB
secondary
#84C371
accent
#E2466A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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