#8E2194#8E2194

#8E2194 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.192 H 325.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8E2194
RGBrgb(142, 33, 148)
HSLhsl(297, 64%, 35%)
HSVhsv(297, 78%, 58%)
CMYKcmyk(4.1%, 77.7%, 0%, 42%)
CIE-LABlab(35.94, 58.07, -38.90)
CIE-LCHlch(35.94, 69.89, 326.18°)
OKLaboklab(47.32% 0.159 -0.1083)
OKLCHoklch(47.32% 0.192 325.7)
XYZxyz(17.0441, 8.9778, 28.8464)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2194 #279421
analogous
#552194 #8E2194 #942160
triadic
#8E2194 #948E21 #21948E
tetradic
#8E2194 #945521 #279421 #216094
square
#8E2194 #945521 #279421 #216094
split-complementary
#8E2194 #609421 #219455
monochromatic
#2E0B30 #5E1662 #8E2194 #BE2CC6 #D256D9

Accessibility & contrast

On white

7.51
#8E2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2194
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2194#FFFFFF#000000##FFFFFF
##8E21941.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#3C5991
Tritanopia (blue-blind)
#92365A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2194;
/* rgb */ color: rgb(142, 33, 148);
/* oklch */ color: oklch(47.3% 0.192 325.7);
Tailwind
colors: {
  custom: {
    50: '#b36ab4',
    500: '#8e2194',
    950: '#000000',
  },
}
SCSS
$custom: #8e2194;
$custom-light: #b36ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2194",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 296.87,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.19235,
    "h": 325.7
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#8E2194
secondary
#59BD54
accent
#E7414A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2194

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

Preview Lab → · Contrast checker → · Palette generator →

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