#8E2FAE#8E2FAE

#8E2FAE is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.200 H 316.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8E2FAE
RGBrgb(142, 47, 174)
HSLhsl(285, 57%, 43%)
HSVhsv(285, 73%, 68%)
CMYKcmyk(18.4%, 73%, 0%, 31.8%)
CIE-LABlab(39.31, 58.05, -49.16)
CIE-LCHlch(39.31, 76.07, 319.74°)
OKLaboklab(50.25% 0.1438 -0.1384)
OKLCHoklch(50.25% 0.2 316.1)
XYZxyz(19.8106, 10.8406, 41.0851)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FAE #4FAE2F
analogous
#4E2FAE #8E2FAE #AE2F8E
triadic
#8E2FAE #AE8E2F #2FAE8E
tetradic
#8E2FAE #AE4E2F #4FAE2F #2F8EAE
square
#8E2FAE #AE4E2F #4FAE2F #2F8EAE
split-complementary
#8E2FAE #8EAE2F #2FAE4E
monochromatic
#3F154E #67227E #8E2FAE #AE4CCF #C37CDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2FAE#FFFFFF#000000##FFFFFF
##8E2FAE1.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)
#0057B2
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#8C4A6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2fae;
/* rgb */ color: rgb(142, 47, 174);
/* oklch */ color: oklch(50.2% 0.200 316.1);
Tailwind
colors: {
  custom: {
    50: '#b371c7',
    500: '#8e2fae',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fae;
$custom-light: #b371c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fae",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 284.882,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.19954,
    "h": 316.1
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#8E2FAE
secondary
#89C475
accent
#E1476E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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