#8E2ABA#8E2ABA

#8E2ABA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.216 H 312.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8E2ABA
RGBrgb(142, 42, 186)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 77%, 73%)
CMYKcmyk(23.7%, 77.4%, 0%, 27.1%)
CIE-LABlab(39.50, 62.30, -55.95)
CIE-LCHlch(39.50, 83.74, 318.07°)
OKLaboklab(50.64% 0.1466 -0.1583)
OKLCHoklch(50.64% 0.216 312.8)
XYZxyz(20.8446, 10.9525, 47.4609)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2ABA #56BA2A
analogous
#462ABA #8E2ABA #BA2A9E
triadic
#8E2ABA #BA8E2A #2ABA8E
tetradic
#8E2ABA #BA462A #56BA2A #2A9EBA
square
#8E2ABA #BA462A #56BA2A #2A9EBA
split-complementary
#8E2ABA #9EBA2A #2ABA46
monochromatic
#421356 #681F88 #8E2ABA #AC4BD6 #C37DE2

Accessibility & contrast

On white

6.58
#8E2ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E2ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2ABA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2ABA#FFFFFF#000000##FFFFFF
##8E2ABA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#894C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2aba;
/* rgb */ color: rgb(142, 42, 186);
/* oklch */ color: oklch(50.6% 0.216 312.8);
Tailwind
colors: {
  custom: {
    50: '#b46fd0',
    500: '#8e2aba',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aba;
$custom-light: #b46fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aba",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 281.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.21572,
    "h": 312.8
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#8E2ABA
secondary
#90CA76
accent
#E64274
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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