#8E2ABC#8E2ABC

#8E2ABC is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.218 H 312.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8E2ABC
RGBrgb(142, 42, 188)
HSLhsl(281, 63%, 45%)
HSVhsv(281, 78%, 74%)
CMYKcmyk(24.5%, 77.7%, 0%, 26.3%)
CIE-LABlab(39.64, 62.70, -56.90)
CIE-LCHlch(39.64, 84.67, 317.78°)
OKLaboklab(50.79% 0.1462 -0.1611)
OKLCHoklch(50.79% 0.218 312.2)
XYZxyz(21.0587, 11.0382, 48.5885)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2ABC #58BC2A
analogous
#452ABC #8E2ABC #BC2AA1
triadic
#8E2ABC #BC8E2A #2ABC8E
tetradic
#8E2ABC #BC452A #58BC2A #2AA1BC
square
#8E2ABC #BC452A #58BC2A #2AA1BC
split-complementary
#8E2ABC #A1BC2A #2ABC45
monochromatic
#421458 #681F8A #8E2ABC #AB4CD7 #C37EE2

Accessibility & contrast

On white

6.55
#8E2ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8E2ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2ABC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2ABC#FFFFFF#000000##FFFFFF
##8E2ABC1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#884D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2abc;
/* rgb */ color: rgb(142, 42, 188);
/* oklch */ color: oklch(50.8% 0.218 312.2);
Tailwind
colors: {
  custom: {
    50: '#b46fd1',
    500: '#8e2abc',
    950: '#000000',
  },
}
SCSS
$custom: #8e2abc;
$custom-light: #b46fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2abc",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 281.096,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50791,
    "c": 0.21751,
    "h": 312.2
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#8E2ABC
secondary
#91CB77
accent
#E74175
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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