#8E2180#8E2180

#8E2180 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.177 H 333.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E2180
RGBrgb(142, 33, 128)
HSLhsl(308, 62%, 34%)
HSVhsv(308, 77%, 56%)
CMYKcmyk(0%, 76.8%, 9.9%, 44.3%)
CIE-LABlab(34.80, 54.77, -28.37)
CIE-LCHlch(34.80, 61.68, 332.62°)
OKLaboklab(46.14% 0.1589 -0.0777)
OKLCHoklch(46.14% 0.177 333.9)
XYZxyz(15.5956, 8.3984, 21.2176)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2180 #218E2F
analogous
#66218E #8E2180 #8E214A
triadic
#8E2180 #808E21 #21808E
tetradic
#8E2180 #8E6621 #218E2F #214A8E
square
#8E2180 #8E6621 #218E2F #214A8E
split-complementary
#8E2180 #4A8E21 #218E66
monochromatic
#2B0A26 #5C1553 #8E2180 #C02DAD #D752C6

Accessibility & contrast

On white

7.84
#8E2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2180
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2180#FFFFFF#000000##FFFFFF
##8E21801.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4883
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#952C4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2180;
/* rgb */ color: rgb(142, 33, 128);
/* oklch */ color: oklch(46.1% 0.177 333.9);
Tailwind
colors: {
  custom: {
    50: '#b369a5',
    500: '#8e2180',
    950: '#000000',
  },
}
SCSS
$custom: #8e2180;
$custom-light: #b369a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2180",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 307.706,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.17692,
    "h": 333.9
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#8E2180
secondary
#50BA5E
accent
#E55742
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2180

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

Preview Lab → · Contrast checker → · Palette generator →

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