#8E2ABD#8E2ABD

#8E2ABD is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.218 H 311.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E2ABD
RGBrgb(142, 42, 189)
HSLhsl(281, 64%, 45%)
HSVhsv(281, 78%, 74%)
CMYKcmyk(24.9%, 77.8%, 0%, 25.9%)
CIE-LABlab(39.72, 62.91, -57.37)
CIE-LCHlch(39.72, 85.14, 317.64°)
OKLaboklab(50.87% 0.146 -0.1624)
OKLCHoklch(50.87% 0.218 311.9)
XYZxyz(21.1669, 11.0814, 49.1581)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2ABD #59BD2A
analogous
#442ABD #8E2ABD #BD2AA3
triadic
#8E2ABD #BD8E2A #2ABD8E
tetradic
#8E2ABD #BD442A #59BD2A #2AA3BD
square
#8E2ABD #BD442A #59BD2A #2AA3BD
split-complementary
#8E2ABD #A3BD2A #2ABD44
monochromatic
#431459 #681F8B #8E2ABD #AB4DD7 #C37FE3

Accessibility & contrast

On white

6.53
#8E2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E2ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2ABD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2ABD#FFFFFF#000000##FFFFFF
##8E2ABD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#884E73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2abd;
/* rgb */ color: rgb(142, 42, 189);
/* oklch */ color: oklch(50.9% 0.218 311.9);
Tailwind
colors: {
  custom: {
    50: '#b46fd2',
    500: '#8e2abd',
    950: '#000000',
  },
}
SCSS
$custom: #8e2abd;
$custom-light: #b46fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2abd",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 280.816,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.2184,
    "h": 311.9
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#8E2ABD
secondary
#92CB78
accent
#E74176
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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