#8E2CA9#8E2CA9

#8E2CA9 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.198 H 317.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8E2CA9
RGBrgb(142, 44, 169)
HSLhsl(287, 59%, 42%)
HSVhsv(287, 74%, 66%)
CMYKcmyk(16%, 74%, 0%, 33.7%)
CIE-LABlab(38.58, 58.19, -47.35)
CIE-LCHlch(38.58, 75.03, 320.86°)
OKLaboklab(49.62% 0.1472 -0.1331)
OKLCHoklch(49.62% 0.198 317.9)
XYZxyz(19.2164, 10.4176, 38.5270)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CA9 #47A92C
analogous
#502CA9 #8E2CA9 #A92C86
triadic
#8E2CA9 #A98E2C #2CA98E
tetradic
#8E2CA9 #A9502C #47A92C #2C86A9
square
#8E2CA9 #A9502C #47A92C #2C86A9
split-complementary
#8E2CA9 #86A92C #2CA950
monochromatic
#3C1348 #651F78 #8E2CA9 #B044CE #C574DB

Accessibility & contrast

On white

6.81
#8E2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8E2CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CA9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CA9#FFFFFF#000000##FFFFFF
##8E2CA91.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#315EA6
Tritanopia (blue-blind)
#8D4668
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2ca9;
/* rgb */ color: rgb(142, 44, 169);
/* oklch */ color: oklch(49.6% 0.198 317.9);
Tailwind
colors: {
  custom: {
    50: '#b36fc3',
    500: '#8e2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ca9;
$custom-light: #b36fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ca9",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 287.04,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.19845,
    "h": 317.9
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#8E2CA9
secondary
#80C36E
accent
#E24668
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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