#8E1685#8E1685

#8E1685 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.191 H 331.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8E1685
RGBrgb(142, 22, 133)
HSLhsl(305, 73%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 84.5%, 6.3%, 44.3%)
CIE-LABlab(34.02, 58.58, -32.71)
CIE-LCHlch(34.02, 67.09, 330.83°)
OKLaboklab(45.67% 0.1679 -0.0902)
OKLCHoklch(45.67% 0.191 331.8)
XYZxyz(15.6759, 8.0194, 22.9080)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1685 #168E1F
analogous
#5B168E #8E1685 #8E1649
triadic
#8E1685 #858E16 #16858E
tetradic
#8E1685 #8E5B16 #168E1F #16498E
square
#8E1685 #8E5B16 #168E1F #16498E
split-complementary
#8E1685 #498E16 #168E5B
monochromatic
#240622 #590E53 #8E1685 #C31EB7 #E13DD5

Accessibility & contrast

On white

8.07
#8E1685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1685
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1685#FFFFFF#000000##FFFFFF
##8E16851.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054688
Deuteranopia (green-blind)
#415682
Tritanopia (blue-blind)
#94284F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1685;
/* rgb */ color: rgb(142, 22, 133);
/* oklch */ color: oklch(45.7% 0.191 331.8);
Tailwind
colors: {
  custom: {
    50: '#b365a9',
    500: '#8e1685',
    950: '#000000',
  },
}
SCSS
$custom: #8e1685;
$custom-light: #b365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1685",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 304.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.19062,
    "h": 331.8
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#8E1685
secondary
#3FC149
accent
#F04638
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1685

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

Preview Lab → · Contrast checker → · Palette generator →

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