#8E2B97#8E2B97

#8E2B97 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.184 H 324.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8E2B97
RGBrgb(142, 43, 151)
HSLhsl(295, 56%, 38%)
HSVhsv(295, 72%, 59%)
CMYKcmyk(6%, 71.5%, 0%, 40.8%)
CIE-LABlab(37.32, 55.17, -38.52)
CIE-LCHlch(37.32, 67.29, 325.08°)
OKLaboklab(48.37% 0.1494 -0.1072)
OKLCHoklch(48.37% 0.184 324.3)
XYZxyz(17.6047, 9.7140, 30.2199)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B97 #34972B
analogous
#582B97 #8E2B97 #972B6A
triadic
#8E2B97 #978E2B #2B978E
tetradic
#8E2B97 #97582B #34972B #2B6A97
square
#8E2B97 #97582B #34972B #2B6A97
split-complementary
#8E2B97 #6A972B #2B9758
monochromatic
#341038 #611D67 #8E2B97 #BB39C7 #CB68D4

Accessibility & contrast

On white

7.14
#8E2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2B97
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B97#FFFFFF#000000##FFFFFF
##8E2B971.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#913D5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2b97;
/* rgb */ color: rgb(142, 43, 151);
/* oklch */ color: oklch(48.4% 0.184 324.3);
Tailwind
colors: {
  custom: {
    50: '#b26eb6',
    500: '#8e2b97',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b97;
$custom-light: #b26eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b97",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 295,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.18389,
    "h": 324.3
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#8E2B97
secondary
#6ABB63
accent
#DF4955
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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