#8E1380#8E1380

#8E1380 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.189 H 333.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8E1380
RGBrgb(142, 19, 128)
HSLhsl(307, 76%, 32%)
HSVhsv(307, 87%, 56%)
CMYKcmyk(0%, 86.6%, 9.9%, 44.3%)
CIE-LABlab(33.51, 58.48, -30.40)
CIE-LCHlch(33.51, 65.91, 332.54°)
OKLaboklab(45.22% 0.1699 -0.0835)
OKLCHoklch(45.22% 0.189 333.8)
XYZxyz(15.2846, 7.7764, 21.1139)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1380 #138E21
analogous
#5F138E #8E1380 #8E1343
triadic
#8E1380 #808E13 #13808E
tetradic
#8E1380 #8E5F13 #138E21 #13438E
square
#8E1380 #8E5F13 #138E21 #13438E
split-complementary
#8E1380 #438E13 #138E5F
monochromatic
#22051F #580C4F #8E1380 #C41AB1 #E437D1

Accessibility & contrast

On white

8.22
#8E1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1380
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1380#FFFFFF#000000##FFFFFF
##8E13801.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4483
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#95234C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1380;
/* rgb */ color: rgb(142, 19, 128);
/* oklch */ color: oklch(45.2% 0.189 333.8);
Tailwind
colors: {
  custom: {
    50: '#b364a5',
    500: '#8e1380',
    950: '#000000',
  },
}
SCSS
$custom: #8e1380;
$custom-light: #b364a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1380",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 306.829,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.18927,
    "h": 333.8
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#8E1380
secondary
#3BC24A
accent
#F34A35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1380

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

Preview Lab → · Contrast checker → · Palette generator →

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