#8E1983#8E1983

#8E1983 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.187 H 332.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8E1983
RGBrgb(142, 25, 131)
HSLhsl(306, 70%, 33%)
HSVhsv(306, 82%, 56%)
CMYKcmyk(0%, 82.4%, 7.7%, 44.3%)
CIE-LABlab(34.16, 57.54, -31.24)
CIE-LCHlch(34.16, 65.48, 331.50°)
OKLaboklab(45.73% 0.1658 -0.086)
OKLCHoklch(45.73% 0.187 332.6)
XYZxyz(15.5998, 8.0861, 22.2075)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1983 #198E24
analogous
#5E198E #8E1983 #8E1948
triadic
#8E1983 #838E19 #19838E
tetradic
#8E1983 #8E5E19 #198E24 #19488E
square
#8E1983 #8E5E19 #198E24 #19488E
split-complementary
#8E1983 #488E19 #198E5E
monochromatic
#260723 #5A1053 #8E1983 #C222B3 #DE43CF

Accessibility & contrast

On white

8.02
#8E1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1983
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1983#FFFFFF#000000##FFFFFF
##8E19831.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4686
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#94284E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1983;
/* rgb */ color: rgb(142, 25, 131);
/* oklch */ color: oklch(45.7% 0.187 332.6);
Tailwind
colors: {
  custom: {
    50: '#b366a7',
    500: '#8e1983',
    950: '#000000',
  },
}
SCSS
$custom: #8e1983;
$custom-light: #b366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1983",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 305.641,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.18676,
    "h": 332.6
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#8E1983
secondary
#44BF4F
accent
#ED4C3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1983

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

Preview Lab → · Contrast checker → · Palette generator →

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