#8E2196#8E2196

#8E2196 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.194 H 325.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8E2196
RGBrgb(142, 33, 150)
HSLhsl(296, 64%, 36%)
HSVhsv(296, 78%, 59%)
CMYKcmyk(5.3%, 78%, 0%, 41.2%)
CIE-LABlab(36.06, 58.42, -39.92)
CIE-LCHlch(36.06, 70.76, 325.65°)
OKLaboklab(47.45% 0.1589 -0.1113)
OKLCHoklch(47.45% 0.194 325)
XYZxyz(17.2038, 9.0416, 29.6873)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2196 #299621
analogous
#532196 #8E2196 #962163
triadic
#8E2196 #968E21 #21968E
tetradic
#8E2196 #965321 #299621 #216396
square
#8E2196 #965321 #299621 #216396
split-complementary
#8E2196 #639621 #219653
monochromatic
#2F0B32 #5F1664 #8E2196 #BD2CC8 #D157DA

Accessibility & contrast

On white

7.48
#8E2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2196
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2196#FFFFFF#000000##FFFFFF
##8E21961.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#91375B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2196;
/* rgb */ color: rgb(142, 33, 150);
/* oklch */ color: oklch(47.4% 0.194 325.0);
Tailwind
colors: {
  custom: {
    50: '#b36ab5',
    500: '#8e2196',
    950: '#000000',
  },
}
SCSS
$custom: #8e2196;
$custom-light: #b36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2196",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 295.897,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.19395,
    "h": 325
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#8E2196
secondary
#5CBE55
accent
#E7414C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2196

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

Preview Lab → · Contrast checker → · Palette generator →

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