#8E2181#8E2181

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

Color values

HEX#8E2181
RGBrgb(142, 33, 129)
HSLhsl(307, 62%, 34%)
HSVhsv(307, 77%, 56%)
CMYKcmyk(0%, 76.8%, 9.2%, 44.3%)
CIE-LABlab(34.85, 54.93, -28.91)
CIE-LCHlch(34.85, 62.07, 332.24°)
OKLaboklab(46.19% 0.159 -0.0793)
OKLCHoklch(46.19% 0.178 333.5)
XYZxyz(15.6618, 8.4248, 21.5659)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2181 #218E2E
analogous
#65218E #8E2181 #8E214B
triadic
#8E2181 #818E21 #21818E
tetradic
#8E2181 #8E6521 #218E2E #214B8E
square
#8E2181 #8E6521 #218E2E #214B8E
split-complementary
#8E2181 #4B8E21 #218E65
monochromatic
#2B0A27 #5C1554 #8E2181 #C02DAE #D752C7

Accessibility & contrast

On white

7.82
#8E2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2181
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2181#FFFFFF#000000##FFFFFF
##8E21811.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2181;
/* rgb */ color: rgb(142, 33, 129);
/* oklch */ color: oklch(46.2% 0.178 333.5);
Tailwind
colors: {
  custom: {
    50: '#b369a6',
    500: '#8e2181',
    950: '#000000',
  },
}
SCSS
$custom: #8e2181;
$custom-light: #b369a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2181",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 307.156,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46192,
    "c": 0.17766,
    "h": 333.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#8E2181
secondary
#50BA5D
accent
#E55642
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2181

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

Preview Lab → · Contrast checker → · Palette generator →

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