#8E1180#8E1180

#8E1180 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.191 H 333.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8E1180
RGBrgb(142, 17, 128)
HSLhsl(307, 79%, 31%)
HSVhsv(307, 88%, 56%)
CMYKcmyk(0%, 88%, 9.9%, 44.3%)
CIE-LABlab(33.37, 58.88, -30.61)
CIE-LCHlch(33.37, 66.37, 332.53°)
OKLaboklab(45.12% 0.171 -0.0841)
OKLCHoklch(45.12% 0.191 333.8)
XYZxyz(15.2522, 7.7116, 21.1031)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1180 #118E1F
analogous
#5D118E #8E1180 #8E1141
triadic
#8E1180 #808E11 #11808E
tetradic
#8E1180 #8E5D11 #118E1F #11418E
square
#8E1180 #8E5D11 #118E1F #11418E
split-complementary
#8E1180 #418E11 #118E5D
monochromatic
#21041D #570A4F #8E1180 #C518B1 #E733D2

Accessibility & contrast

On white

8.26
#8E1180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E1180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1180
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1180#FFFFFF#000000##FFFFFF
##8E11801.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094383
Deuteranopia (green-blind)
#42557D
Tritanopia (blue-blind)
#95224B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1180;
/* rgb */ color: rgb(142, 17, 128);
/* oklch */ color: oklch(45.1% 0.191 333.8);
Tailwind
colors: {
  custom: {
    50: '#b364a5',
    500: '#8e1180',
    950: '#000000',
  },
}
SCSS
$custom: #8e1180;
$custom-light: #b364a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1180",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 306.72,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45119,
    "c": 0.1906,
    "h": 333.8
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#8E1180
secondary
#38C248
accent
#F54833
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E1180

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

Preview Lab → · Contrast checker → · Palette generator →

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