#8E2596#8E2596

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

Color values

HEX#8E2596
RGBrgb(142, 37, 150)
HSLhsl(296, 60%, 37%)
HSVhsv(296, 75%, 59%)
CMYKcmyk(5.3%, 75.3%, 0%, 41.2%)
CIE-LABlab(36.51, 57.13, -39.21)
CIE-LCHlch(36.51, 69.29, 325.54°)
OKLaboklab(47.77% 0.1553 -0.1092)
OKLCHoklch(47.77% 0.19 324.9)
XYZxyz(17.3215, 9.2770, 29.7266)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2596 #2D9625
analogous
#562596 #8E2596 #962566
triadic
#8E2596 #968E25 #25968E
tetradic
#8E2596 #965625 #2D9625 #256696
square
#8E2596 #965625 #2D9625 #256696
split-complementary
#8E2596 #669625 #259656
monochromatic
#310D34 #601965 #8E2596 #BC31C7 #CF5ED7

Accessibility & contrast

On white

7.36
#8E2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2596
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2596#FFFFFF#000000##FFFFFF
##8E25961.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#91395C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2596;
/* rgb */ color: rgb(142, 37, 150);
/* oklch */ color: oklch(47.8% 0.190 324.9);
Tailwind
colors: {
  custom: {
    50: '#b36bb5',
    500: '#8e2596',
    950: '#000000',
  },
}
SCSS
$custom: #8e2596;
$custom-light: #b36bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2596",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 295.752,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.18986,
    "h": 324.9
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#8E2596
secondary
#61BC5B
accent
#E44450
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2596

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

Preview Lab → · Contrast checker → · Palette generator →

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