#8E2E95#8E2E95

#8E2E95 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.178 H 325.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8E2E95
RGBrgb(142, 46, 149)
HSLhsl(296, 53%, 38%)
HSVhsv(296, 69%, 58%)
CMYKcmyk(4.7%, 69.1%, 0%, 41.6%)
CIE-LABlab(37.62, 53.64, -36.84)
CIE-LCHlch(37.62, 65.07, 325.52°)
OKLaboklab(48.54% 0.1462 -0.1024)
OKLCHoklch(48.54% 0.178 325)
XYZxyz(17.5567, 9.8758, 29.4094)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E95 #35952E
analogous
#5A2E95 #8E2E95 #952E68
triadic
#8E2E95 #958E2E #2E958E
tetradic
#8E2E95 #955A2E #35952E #2E6895
square
#8E2E95 #955A2E #35952E #2E6895
split-complementary
#8E2E95 #68952E #2E955A
monochromatic
#351137 #612066 #8E2E95 #BA3DC3 #CB6CD2

Accessibility & contrast

On white

7.06
#8E2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8E2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E95
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E95#FFFFFF#000000##FFFFFF
##8E2E951.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175198
Deuteranopia (green-blind)
#425D92
Tritanopia (blue-blind)
#913E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2e95;
/* rgb */ color: rgb(142, 46, 149);
/* oklch */ color: oklch(48.5% 0.178 325.0);
Tailwind
colors: {
  custom: {
    50: '#b26fb4',
    500: '#8e2e95',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e95;
$custom-light: #b26fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e95",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 295.922,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.17845,
    "h": 325
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#8E2E95
secondary
#6CB966
accent
#DC4C55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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