#8E2C94#8E2C94

#8E2C94 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.180 H 325.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8E2C94
RGBrgb(142, 44, 148)
HSLhsl(297, 54%, 38%)
HSVhsv(297, 70%, 58%)
CMYKcmyk(4.1%, 70.3%, 0%, 42%)
CIE-LABlab(37.28, 54.24, -36.76)
CIE-LCHlch(37.28, 65.53, 325.87°)
OKLaboklab(48.28% 0.1484 -0.1021)
OKLCHoklch(48.28% 0.18 325.5)
XYZxyz(17.4009, 9.6914, 28.9653)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C94 #32942C
analogous
#5A2C94 #8E2C94 #942C66
triadic
#8E2C94 #948E2C #2C948E
tetradic
#8E2C94 #945A2C #32942C #2C6694
square
#8E2C94 #945A2C #32942C #2C6694
split-complementary
#8E2C94 #66942C #2C945A
monochromatic
#331036 #611E65 #8E2C94 #BB3AC3 #CC68D2

Accessibility & contrast

On white

7.15
#8E2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8E2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C94
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C94#FFFFFF#000000##FFFFFF
##8E2C941.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#913D5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2c94;
/* rgb */ color: rgb(142, 44, 148);
/* oklch */ color: oklch(48.3% 0.180 325.5);
Tailwind
colors: {
  custom: {
    50: '#b26eb4',
    500: '#8e2c94',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c94;
$custom-light: #b26eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c94",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 296.538,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.18011,
    "h": 325.5
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#8E2C94
secondary
#68B963
accent
#DE4A53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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