#8E1CA1#8E1CA1

#8E1CA1 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.207 H 321.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8E1CA1
RGBrgb(142, 28, 161)
HSLhsl(291, 70%, 37%)
HSVhsv(291, 83%, 63%)
CMYKcmyk(11.8%, 82.6%, 0%, 36.9%)
CIE-LABlab(36.28, 61.79, -46.25)
CIE-LCHlch(36.28, 77.18, 323.19°)
OKLaboklab(47.83% 0.1616 -0.1297)
OKLCHoklch(47.83% 0.207 321.2)
XYZxyz(18.0029, 9.1555, 34.5302)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1CA1 #2FA11C
analogous
#4C1CA1 #8E1CA1 #A11C71
triadic
#8E1CA1 #A18E1C #1CA18E
tetradic
#8E1CA1 #A14C1C #2FA11C #1C71A1
square
#8E1CA1 #A14C1C #2FA11C #1C71A1
split-complementary
#8E1CA1 #71A11C #1CA14C
monochromatic
#320A39 #60136D #8E1CA1 #BC25D5 #CE56E2

Accessibility & contrast

On white

7.42
#8E1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8E1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1CA1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1CA1#FFFFFF#000000##FFFFFF
##8E1CA11.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#8F3A60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1ca1;
/* rgb */ color: rgb(142, 28, 161);
/* oklch */ color: oklch(47.8% 0.207 321.2);
Tailwind
colors: {
  custom: {
    50: '#b369bd',
    500: '#8e1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8e1ca1;
$custom-light: #b369bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1ca1",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 291.429,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.20724,
    "h": 321.2
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#8E1CA1
secondary
#64C554
accent
#ED3B54
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8E1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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