#8E2597#8E2597

#8E2597 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 324.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8E2597
RGBrgb(142, 37, 151)
HSLhsl(295, 61%, 37%)
HSVhsv(295, 75%, 59%)
CMYKcmyk(6%, 75.5%, 0%, 40.8%)
CIE-LABlab(36.57, 57.31, -39.72)
CIE-LCHlch(36.57, 69.73, 325.28°)
OKLaboklab(47.83% 0.1553 -0.1107)
OKLCHoklch(47.83% 0.191 324.5)
XYZxyz(17.4024, 9.3094, 30.1524)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2597 #2E9725
analogous
#552597 #8E2597 #972567
triadic
#8E2597 #978E25 #25978E
tetradic
#8E2597 #975525 #2E9725 #256797
square
#8E2597 #975525 #2E9725 #256797
split-complementary
#8E2597 #679725 #259755
monochromatic
#320D35 #601966 #8E2597 #BC31C8 #CE5FD8

Accessibility & contrast

On white

7.34
#8E2597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2597
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2597#FFFFFF#000000##FFFFFF
##8E25971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#913A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2597;
/* rgb */ color: rgb(142, 37, 151);
/* oklch */ color: oklch(47.8% 0.191 324.5);
Tailwind
colors: {
  custom: {
    50: '#b36bb6',
    500: '#8e2597',
    950: '#000000',
  },
}
SCSS
$custom: #8e2597;
$custom-light: #b36bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2597",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 295.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.19068,
    "h": 324.5
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#8E2597
secondary
#63BD5B
accent
#E44451
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2597

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

Preview Lab → · Contrast checker → · Palette generator →

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