#8E1284#8E1284

#8E1284 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.193 H 332.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8E1284
RGBrgb(142, 18, 132)
HSLhsl(305, 78%, 31%)
HSVhsv(305, 87%, 56%)
CMYKcmyk(0%, 87.3%, 7%, 44.3%)
CIE-LABlab(33.67, 59.29, -32.64)
CIE-LCHlch(33.67, 67.68, 331.16°)
OKLaboklab(45.4% 0.1705 -0.09)
OKLCHoklch(45.4% 0.193 332.2)
XYZxyz(15.5366, 7.8507, 22.5224)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1284 #128E1C
analogous
#5A128E #8E1284 #8E1246
triadic
#8E1284 #848E12 #12848E
tetradic
#8E1284 #8E5A12 #128E1C #12468E
square
#8E1284 #8E5A12 #128E1C #12468E
split-complementary
#8E1284 #468E12 #128E5A
monochromatic
#21041F #580B52 #8E1284 #C419B6 #E535D7

Accessibility & contrast

On white

8.17
#8E1284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1284
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1284#FFFFFF#000000##FFFFFF
##8E12841.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#94254E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1284;
/* rgb */ color: rgb(142, 18, 132);
/* oklch */ color: oklch(45.4% 0.193 332.2);
Tailwind
colors: {
  custom: {
    50: '#b364a8',
    500: '#8e1284',
    950: '#000000',
  },
}
SCSS
$custom: #8e1284;
$custom-light: #b364a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1284",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 132
  },
  "hsl": {
    "h": 304.839,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.19275,
    "h": 332.2
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#8E1284
secondary
#3AC245
accent
#F44334
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8E1284

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

Preview Lab → · Contrast checker → · Palette generator →

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