#8E2CA3#8E2CA3

#8E2CA3 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.193 H 319.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8E2CA3
RGBrgb(142, 44, 163)
HSLhsl(289, 57%, 41%)
HSVhsv(289, 73%, 64%)
CMYKcmyk(12.9%, 73%, 0%, 36.1%)
CIE-LABlab(38.19, 57.03, -44.38)
CIE-LCHlch(38.19, 72.27, 322.11°)
OKLaboklab(49.23% 0.1478 -0.1244)
OKLCHoklch(49.23% 0.193 319.9)
XYZxyz(18.6660, 10.1974, 35.6283)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CA3 #41A32C
analogous
#522CA3 #8E2CA3 #A32C7C
triadic
#8E2CA3 #A38E2C #2CA38E
tetradic
#8E2CA3 #A3522C #41A32C #2C7CA3
square
#8E2CA3 #A3522C #41A32C #2C7CA3
split-complementary
#8E2CA3 #7CA32C #2CA352
monochromatic
#3A1243 #641F73 #8E2CA3 #B341CC #C671D9

Accessibility & contrast

On white

6.91
#8E2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E2CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CA3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CA3#FFFFFF#000000##FFFFFF
##8E2CA31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#8E4365
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2ca3;
/* rgb */ color: rgb(142, 44, 163);
/* oklch */ color: oklch(49.2% 0.193 319.9);
Tailwind
colors: {
  custom: {
    50: '#b36fbf',
    500: '#8e2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ca3;
$custom-light: #b36fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ca3",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 289.412,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.19313,
    "h": 319.9
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#8E2CA3
secondary
#7AC06B
accent
#E14762
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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