#8E2AB7#8E2AB7

#8E2AB7 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.213 H 313.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8E2AB7
RGBrgb(142, 42, 183)
HSLhsl(283, 63%, 44%)
HSVhsv(283, 77%, 72%)
CMYKcmyk(22.4%, 77%, 0%, 28.2%)
CIE-LABlab(39.29, 61.69, -54.53)
CIE-LCHlch(39.29, 82.34, 318.53°)
OKLaboklab(50.43% 0.1471 -0.1541)
OKLCHoklch(50.43% 0.213 313.7)
XYZxyz(20.5290, 10.8263, 45.7988)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AB7 #53B72A
analogous
#472AB7 #8E2AB7 #B72A9A
triadic
#8E2AB7 #B78E2A #2AB78E
tetradic
#8E2AB7 #B7472A #53B72A #2A9AB7
square
#8E2AB7 #B7472A #53B72A #2A9AB7
split-complementary
#8E2AB7 #9AB72A #2AB747
monochromatic
#411353 #671F85 #8E2AB7 #AC49D5 #C37BE1

Accessibility & contrast

On white

6.63
#8E2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8E2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AB7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AB7#FFFFFF#000000##FFFFFF
##8E2AB71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#1C5FB4
Tritanopia (blue-blind)
#8A4B70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2ab7;
/* rgb */ color: rgb(142, 42, 183);
/* oklch */ color: oklch(50.4% 0.213 313.7);
Tailwind
colors: {
  custom: {
    50: '#b46fcd',
    500: '#8e2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ab7;
$custom-light: #b46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ab7",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 282.553,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.21304,
    "h": 313.7
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#8E2AB7
secondary
#8DC974
accent
#E64272
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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