#8E2AB4#8E2AB4

#8E2AB4 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.210 H 314.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8E2AB4
RGBrgb(142, 42, 180)
HSLhsl(283, 62%, 44%)
HSVhsv(283, 77%, 71%)
CMYKcmyk(21.1%, 76.7%, 0%, 29.4%)
CIE-LABlab(39.08, 61.09, -53.10)
CIE-LCHlch(39.08, 80.94, 319.00°)
OKLaboklab(50.21% 0.1476 -0.1499)
OKLCHoklch(50.21% 0.21 314.5)
XYZxyz(20.2201, 10.7027, 44.1719)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AB4 #50B42A
analogous
#492AB4 #8E2AB4 #B42A95
triadic
#8E2AB4 #B48E2A #2AB48E
tetradic
#8E2AB4 #B4492A #50B42A #2A95B4
square
#8E2AB4 #B4492A #50B42A #2A95B4
split-complementary
#8E2AB4 #95B42A #2AB449
monochromatic
#401351 #671E82 #8E2AB4 #AD47D4 #C379E0

Accessibility & contrast

On white

6.69
#8E2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2AB4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AB4#FFFFFF#000000##FFFFFF
##8E2AB41.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#215EB1
Tritanopia (blue-blind)
#8B4A6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2ab4;
/* rgb */ color: rgb(142, 42, 180);
/* oklch */ color: oklch(50.2% 0.210 314.5);
Tailwind
colors: {
  custom: {
    50: '#b36fcb',
    500: '#8e2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ab4;
$custom-light: #b36fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ab4",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 283.478,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.21037,
    "h": 314.5
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#8E2AB4
secondary
#8AC872
accent
#E5436F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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