#8E2C95#8E2C95

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

Color values

HEX#8E2C95
RGBrgb(142, 44, 149)
HSLhsl(296, 54%, 38%)
HSVhsv(296, 70%, 58%)
CMYKcmyk(4.7%, 70.5%, 0%, 41.6%)
CIE-LABlab(37.34, 54.42, -37.28)
CIE-LCHlch(37.34, 65.97, 325.59°)
OKLaboklab(48.34% 0.1484 -0.1036)
OKLCHoklch(48.34% 0.181 325.1)
XYZxyz(17.4804, 9.7232, 29.3840)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C95 #33952C
analogous
#592C95 #8E2C95 #952C67
triadic
#8E2C95 #958E2C #2C958E
tetradic
#8E2C95 #95592C #33952C #2C6795
square
#8E2C95 #95592C #33952C #2C6795
split-complementary
#8E2C95 #67952C #2C9559
monochromatic
#341037 #611E66 #8E2C95 #BB3AC4 #CC69D3

Accessibility & contrast

On white

7.13
#8E2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2C95
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C95#FFFFFF#000000##FFFFFF
##8E2C951.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2c95;
/* rgb */ color: rgb(142, 44, 149);
/* oklch */ color: oklch(48.3% 0.181 325.1);
Tailwind
colors: {
  custom: {
    50: '#b26eb4',
    500: '#8e2c95',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c95;
$custom-light: #b26eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c95",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 296,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.18096,
    "h": 325.1
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#8E2C95
secondary
#69B964
accent
#DE4A54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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