#8E2084#8E2084

#8E2084 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.181 H 332.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8E2084
RGBrgb(142, 32, 132)
HSLhsl(305, 63%, 34%)
HSVhsv(305, 77%, 56%)
CMYKcmyk(0%, 77.5%, 7%, 44.3%)
CIE-LABlab(34.91, 55.72, -30.69)
CIE-LCHlch(34.91, 63.61, 331.15°)
OKLaboklab(46.28% 0.16 -0.0844)
OKLCHoklch(46.28% 0.181 332.2)
XYZxyz(15.8367, 8.4511, 22.6225)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2084 #208E2A
analogous
#61208E #8E2084 #8E204D
triadic
#8E2084 #848E20 #20848E
tetradic
#8E2084 #8E6120 #208E2A #204D8E
square
#8E2084 #8E6120 #208E2A #204D8E
split-complementary
#8E2084 #4D8E20 #208E61
monochromatic
#2A0927 #5C1556 #8E2084 #C02BB2 #D851CB

Accessibility & contrast

On white

7.81
#8E2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2084
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2084#FFFFFF#000000##FFFFFF
##8E20841.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#455781
Tritanopia (blue-blind)
#942D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2084;
/* rgb */ color: rgb(142, 32, 132);
/* oklch */ color: oklch(46.3% 0.181 332.2);
Tailwind
colors: {
  custom: {
    50: '#b369a8',
    500: '#8e2084',
    950: '#000000',
  },
}
SCSS
$custom: #8e2084;
$custom-light: #b369a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2084",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 305.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46283,
    "c": 0.18094,
    "h": 332.2
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#8E2084
secondary
#4FBB59
accent
#E65142
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2084

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

Preview Lab → · Contrast checker → · Palette generator →

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