#8E2599#8E2599

#8E2599 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.192 H 323.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8E2599
RGBrgb(142, 37, 153)
HSLhsl(294, 61%, 37%)
HSVhsv(294, 76%, 60%)
CMYKcmyk(7.2%, 75.8%, 0%, 40%)
CIE-LABlab(36.70, 57.67, -40.74)
CIE-LCHlch(36.70, 70.61, 324.76°)
OKLaboklab(47.96% 0.1552 -0.1137)
OKLCHoklch(47.96% 0.192 323.8)
XYZxyz(17.5662, 9.3749, 31.0151)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2599 #309925
analogous
#542599 #8E2599 #99256A
triadic
#8E2599 #998E25 #25998E
tetradic
#8E2599 #995425 #309925 #256A99
square
#8E2599 #995425 #309925 #256A99
split-complementary
#8E2599 #6A9925 #259954
monochromatic
#330D36 #601968 #8E2599 #BC31CA #CD60D9

Accessibility & contrast

On white

7.30
#8E2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2599
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2599#FFFFFF#000000##FFFFFF
##8E25991.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#913B5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2599;
/* rgb */ color: rgb(142, 37, 153);
/* oklch */ color: oklch(48.0% 0.192 323.8);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8e2599',
    950: '#000000',
  },
}
SCSS
$custom: #8e2599;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2599",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 294.31,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.19233,
    "h": 323.8
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#8E2599
secondary
#65BE5C
accent
#E44453
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2599

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

Preview Lab → · Contrast checker → · Palette generator →

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