#8E2497#8E2497

#8E2497 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.192 H 324.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8E2497
RGBrgb(142, 36, 151)
HSLhsl(295, 61%, 37%)
HSVhsv(295, 76%, 59%)
CMYKcmyk(6%, 76.2%, 0%, 40.8%)
CIE-LABlab(36.46, 57.64, -39.90)
CIE-LCHlch(36.46, 70.11, 325.31°)
OKLaboklab(47.75% 0.1562 -0.1112)
OKLCHoklch(47.75% 0.192 324.5)
XYZxyz(17.3717, 9.2480, 30.1422)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2497 #2D9724
analogous
#552497 #8E2497 #972467
triadic
#8E2497 #978E24 #24978E
tetradic
#8E2497 #975524 #2D9724 #246797
square
#8E2497 #975524 #2D9724 #246797
split-complementary
#8E2497 #679724 #249755
monochromatic
#310C34 #601866 #8E2497 #BC30C8 #CF5DD8

Accessibility & contrast

On white

7.37
#8E2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2497
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2497#FFFFFF#000000##FFFFFF
##8E24971.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2497;
/* rgb */ color: rgb(142, 36, 151);
/* oklch */ color: oklch(47.7% 0.192 324.5);
Tailwind
colors: {
  custom: {
    50: '#b36bb6',
    500: '#8e2497',
    950: '#000000',
  },
}
SCSS
$custom: #8e2497;
$custom-light: #b36bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2497",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 295.304,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.19174,
    "h": 324.5
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#8E2497
secondary
#61BD5A
accent
#E54350
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2497

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

Preview Lab → · Contrast checker → · Palette generator →

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