#8E2598#8E2598

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

Color values

HEX#8E2598
RGBrgb(142, 37, 152)
HSLhsl(295, 61%, 37%)
HSVhsv(295, 76%, 60%)
CMYKcmyk(6.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(36.63, 57.49, -40.23)
CIE-LCHlch(36.63, 70.17, 325.02°)
OKLaboklab(47.89% 0.1552 -0.1122)
OKLCHoklch(47.89% 0.192 324.1)
XYZxyz(17.4839, 9.3420, 30.5820)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2598 #2F9825
analogous
#552598 #8E2598 #982568
triadic
#8E2598 #988E25 #25988E
tetradic
#8E2598 #985525 #2F9825 #256898
square
#8E2598 #985525 #2F9825 #256898
split-complementary
#8E2598 #689825 #259855
monochromatic
#320D36 #601967 #8E2598 #BC31C9 #CE5FD8

Accessibility & contrast

On white

7.32
#8E2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2598
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2598#FFFFFF#000000##FFFFFF
##8E25981.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#913A5D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2598;
/* rgb */ color: rgb(142, 37, 152);
/* oklch */ color: oklch(47.9% 0.192 324.1);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8e2598',
    950: '#000000',
  },
}
SCSS
$custom: #8e2598;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2598",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 294.783,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.19151,
    "h": 324.1
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#8E2598
secondary
#64BD5C
accent
#E44452
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2598

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

Preview Lab → · Contrast checker → · Palette generator →

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