#8E2499#8E2499

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

Color values

HEX#8E2499
RGBrgb(142, 36, 153)
HSLhsl(294, 62%, 37%)
HSVhsv(294, 76%, 60%)
CMYKcmyk(7.2%, 76.5%, 0%, 40%)
CIE-LABlab(36.58, 58.00, -40.92)
CIE-LCHlch(36.58, 70.98, 324.79°)
OKLaboklab(47.88% 0.1561 -0.1142)
OKLCHoklch(47.88% 0.193 323.8)
XYZxyz(17.5355, 9.3135, 31.0049)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2499 #2F9924
analogous
#542499 #8E2499 #99246A
triadic
#8E2499 #998E24 #24998E
tetradic
#8E2499 #995424 #2F9924 #246A99
square
#8E2499 #995424 #2F9924 #246A99
split-complementary
#8E2499 #6A9924 #249954
monochromatic
#320D36 #601867 #8E2499 #BC30CB #CE5ED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2499#FFFFFF#000000##FFFFFF
##8E24991.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)
#004E9C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#913A5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2499;
/* rgb */ color: rgb(142, 36, 153);
/* oklch */ color: oklch(47.9% 0.193 323.8);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8e2499',
    950: '#000000',
  },
}
SCSS
$custom: #8e2499;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2499",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 294.359,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.19338,
    "h": 323.8
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#8E2499
secondary
#64BE5B
accent
#E54352
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2499

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

Preview Lab → · Contrast checker → · Palette generator →

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