#8E2182#8E2182

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

Color values

HEX#8E2182
RGBrgb(142, 33, 130)
HSLhsl(307, 62%, 34%)
HSVhsv(307, 77%, 56%)
CMYKcmyk(0%, 76.8%, 8.5%, 44.3%)
CIE-LABlab(34.91, 55.08, -29.44)
CIE-LCHlch(34.91, 62.46, 331.87°)
OKLaboklab(46.25% 0.159 -0.0808)
OKLCHoklch(46.25% 0.178 333.1)
XYZxyz(15.7285, 8.4515, 21.9177)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2182 #218E2D
analogous
#64218E #8E2182 #8E214B
triadic
#8E2182 #828E21 #21828E
tetradic
#8E2182 #8E6421 #218E2D #214B8E
square
#8E2182 #8E6421 #218E2D #214B8E
split-complementary
#8E2182 #4B8E21 #218E64
monochromatic
#2B0A27 #5C1555 #8E2182 #C02DAF #D752C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2182#FFFFFF#000000##FFFFFF
##8E21821.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)
#1C4885
Deuteranopia (green-blind)
#46587F
Tritanopia (blue-blind)
#952D50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2182;
/* rgb */ color: rgb(142, 33, 130);
/* oklch */ color: oklch(46.2% 0.178 333.1);
Tailwind
colors: {
  custom: {
    50: '#b369a6',
    500: '#8e2182',
    950: '#000000',
  },
}
SCSS
$custom: #8e2182;
$custom-light: #b369a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2182",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 306.606,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.1784,
    "h": 333.1
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#8E2182
secondary
#50BA5C
accent
#E55442
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2182

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

Preview Lab → · Contrast checker → · Palette generator →

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