#8E2183#8E2183

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

Color values

HEX#8E2183
RGBrgb(142, 33, 131)
HSLhsl(306, 62%, 34%)
HSVhsv(306, 77%, 56%)
CMYKcmyk(0%, 76.8%, 7.7%, 44.3%)
CIE-LABlab(34.96, 55.24, -29.98)
CIE-LCHlch(34.96, 62.85, 331.51°)
OKLaboklab(46.3% 0.1591 -0.0824)
OKLCHoklch(46.3% 0.179 332.6)
XYZxyz(15.7960, 8.4785, 22.2729)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2183 #218E2C
analogous
#63218E #8E2183 #8E214D
triadic
#8E2183 #838E21 #21838E
tetradic
#8E2183 #8E6321 #218E2C #214D8E
square
#8E2183 #8E6321 #218E2C #214D8E
split-complementary
#8E2183 #4D8E21 #218E63
monochromatic
#2B0A27 #5C1555 #8E2183 #C02DB1 #D752CA

Accessibility & contrast

On white

7.79
#8E2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2183
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2183#FFFFFF#000000##FFFFFF
##8E21831.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4886
Deuteranopia (green-blind)
#465880
Tritanopia (blue-blind)
#942D50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2183;
/* rgb */ color: rgb(142, 33, 131);
/* oklch */ color: oklch(46.3% 0.179 332.6);
Tailwind
colors: {
  custom: {
    50: '#b369a7',
    500: '#8e2183',
    950: '#000000',
  },
}
SCSS
$custom: #8e2183;
$custom-light: #b369a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2183",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 306.055,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.17915,
    "h": 332.6
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#8E2183
secondary
#50BA5B
accent
#E55342
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E2183

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

Preview Lab → · Contrast checker → · Palette generator →

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