#8E2E97#8E2E97

#8E2E97 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.180 H 324.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E2E97
RGBrgb(142, 46, 151)
HSLhsl(295, 53%, 39%)
HSVhsv(295, 70%, 59%)
CMYKcmyk(6%, 69.5%, 0%, 40.8%)
CIE-LABlab(37.73, 54.01, -37.87)
CIE-LCHlch(37.73, 65.96, 324.96°)
OKLaboklab(48.66% 0.1462 -0.1054)
OKLCHoklch(48.66% 0.18 324.2)
XYZxyz(17.7178, 9.9402, 30.2576)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E97 #37972E
analogous
#592E97 #8E2E97 #972E6B
triadic
#8E2E97 #978E2E #2E978E
tetradic
#8E2E97 #97592E #37972E #2E6B97
square
#8E2E97 #97592E #37972E #2E6B97
split-complementary
#8E2E97 #6B972E #2E9759
monochromatic
#361139 #622068 #8E2E97 #B93EC4 #CA6DD2

Accessibility & contrast

On white

7.03
#8E2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E97
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E97#FFFFFF#000000##FFFFFF
##8E2E971.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#913F5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2e97;
/* rgb */ color: rgb(142, 46, 151);
/* oklch */ color: oklch(48.7% 0.180 324.2);
Tailwind
colors: {
  custom: {
    50: '#b26fb6',
    500: '#8e2e97',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e97;
$custom-light: #b26fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e97",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 294.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.18018,
    "h": 324.2
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#8E2E97
secondary
#6EBA67
accent
#DD4B58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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