#8E1689#8E1689

#8E1689 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.194 H 330.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1689
RGBrgb(142, 22, 137)
HSLhsl(303, 73%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 84.5%, 3.5%, 44.3%)
CIE-LABlab(34.26, 59.21, -34.82)
CIE-LCHlch(34.26, 68.69, 329.54°)
OKLaboklab(45.91% 0.1678 -0.0963)
OKLCHoklch(45.91% 0.194 330.1)
XYZxyz(15.9575, 8.1321, 24.3913)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1689 #168E1B
analogous
#57168E #8E1689 #8E164D
triadic
#8E1689 #898E16 #16898E
tetradic
#8E1689 #8E5716 #168E1B #164D8E
square
#8E1689 #8E5716 #168E1B #164D8E
split-complementary
#8E1689 #4D8E16 #168E57
monochromatic
#240623 #590E56 #8E1689 #C31EBC #E13DDA

Accessibility & contrast

On white

8.00
#8E1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1689
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1689#FFFFFF#000000##FFFFFF
##8E16891.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#942A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1689;
/* rgb */ color: rgb(142, 22, 137);
/* oklch */ color: oklch(45.9% 0.194 330.1);
Tailwind
colors: {
  custom: {
    50: '#b366ac',
    500: '#8e1689',
    950: '#000000',
  },
}
SCSS
$custom: #8e1689;
$custom-light: #b366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1689",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 302.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.19352,
    "h": 330.1
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#8E1689
secondary
#3FC144
accent
#F04038
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1689

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

Preview Lab → · Contrast checker → · Palette generator →

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