#8E2AA3#8E2AA3

#8E2AA3 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.195 H 320.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA3
RGBrgb(142, 42, 163)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.9%, 74.2%, 0%, 36.1%)
CIE-LABlab(37.94, 57.77, -44.80)
CIE-LCHlch(37.94, 73.10, 322.21°)
OKLaboklab(49.04% 0.1497 -0.1256)
OKLCHoklch(49.04% 0.195 320)
XYZxyz(18.5933, 10.0520, 35.6041)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA3 #3FA32A
analogous
#522AA3 #8E2AA3 #A32A7B
triadic
#8E2AA3 #A38E2A #2AA38E
tetradic
#8E2AA3 #A3522A #3FA32A #2A7BA3
square
#8E2AA3 #A3522A #3FA32A #2A7BA3
split-complementary
#8E2AA3 #7BA32A #2AA352
monochromatic
#391142 #641D72 #8E2AA3 #B43DCD #C76EDA

Accessibility & contrast

On white

6.98
#8E2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8E2AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AA3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA3#FFFFFF#000000##FFFFFF
##8E2AA31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#8E4264
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2aa3;
/* rgb */ color: rgb(142, 42, 163);
/* oklch */ color: oklch(49.0% 0.195 320.0);
Tailwind
colors: {
  custom: {
    50: '#b36ebf',
    500: '#8e2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa3;
$custom-light: #b36ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa3",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 289.587,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.1954,
    "h": 320
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#8E2AA3
secondary
#78C068
accent
#E24661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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