#8E1682#8E1682

#8E1682 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.188 H 333.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8E1682
RGBrgb(142, 22, 130)
HSLhsl(306, 73%, 32%)
HSVhsv(306, 85%, 56%)
CMYKcmyk(0%, 84.5%, 8.5%, 44.3%)
CIE-LABlab(33.85, 58.12, -31.11)
CIE-LCHlch(33.85, 65.92, 331.84°)
OKLaboklab(45.5% 0.1679 -0.0856)
OKLCHoklch(45.5% 0.188 333)
XYZxyz(15.4716, 7.9377, 21.8321)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1682 #168E22
analogous
#5E168E #8E1682 #8E1646
triadic
#8E1682 #828E16 #16828E
tetradic
#8E1682 #8E5E16 #168E22 #16468E
square
#8E1682 #8E5E16 #168E22 #16468E
split-complementary
#8E1682 #468E16 #168E5E
monochromatic
#240621 #590E51 #8E1682 #C31EB3 #E13DD1

Accessibility & contrast

On white

8.12
#8E1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1682
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1682#FFFFFF#000000##FFFFFF
##8E16821.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4585
Deuteranopia (green-blind)
#43557F
Tritanopia (blue-blind)
#95264D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1682;
/* rgb */ color: rgb(142, 22, 130);
/* oklch */ color: oklch(45.5% 0.188 333.0);
Tailwind
colors: {
  custom: {
    50: '#b365a7',
    500: '#8e1682',
    950: '#000000',
  },
}
SCSS
$custom: #8e1682;
$custom-light: #b365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1682",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 306,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.18847,
    "h": 333
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#8E1682
secondary
#3FC14C
accent
#F04A38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1682

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

Preview Lab → · Contrast checker → · Palette generator →

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