#8E1183#8E1183

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

Color values

HEX#8E1183
RGBrgb(142, 17, 131)
HSLhsl(305, 79%, 31%)
HSVhsv(305, 88%, 56%)
CMYKcmyk(0%, 88%, 7.7%, 44.3%)
CIE-LABlab(33.55, 59.33, -32.22)
CIE-LCHlch(33.55, 67.52, 331.50°)
OKLaboklab(45.3% 0.171 -0.0888)
OKLCHoklch(45.3% 0.193 332.6)
XYZxyz(15.4526, 7.7918, 22.1584)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1183 #118E1C
analogous
#5A118E #8E1183 #8E1144
triadic
#8E1183 #838E11 #11838E
tetradic
#8E1183 #8E5A11 #118E1C #11448E
square
#8E1183 #8E5A11 #118E1C #11448E
split-complementary
#8E1183 #448E11 #118E5A
monochromatic
#21041E #570A51 #8E1183 #C518B5 #E733D7

Accessibility & contrast

On white

8.21
#8E1183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1183
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1183#FFFFFF#000000##FFFFFF
##8E11831.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#95244D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1183;
/* rgb */ color: rgb(142, 17, 131);
/* oklch */ color: oklch(45.3% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#b364a7',
    500: '#8e1183',
    950: '#000000',
  },
}
SCSS
$custom: #8e1183;
$custom-light: #b364a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1183",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 131
  },
  "hsl": {
    "h": 305.28,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.19269,
    "h": 332.6
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#8E1183
secondary
#38C245
accent
#F54433
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E1183

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

Preview Lab → · Contrast checker → · Palette generator →

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