#9E2598#9E2598

#9E2598 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.199 H 330.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9E2598
RGBrgb(158, 37, 152)
HSLhsl(303, 62%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 76.6%, 3.8%, 38%)
CIE-LABlab(39.35, 60.95, -35.75)
CIE-LCHlch(39.35, 70.66, 329.61°)
OKLaboklab(50.35% 0.1729 -0.0987)
OKLCHoklch(50.35% 0.199 330.3)
XYZxyz(20.4295, 10.8609, 30.7200)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2598 #259E2B
analogous
#67259E #9E2598 #9E255B
triadic
#9E2598 #989E25 #25989E
tetradic
#9E2598 #9E6725 #259E2B #255B9E
square
#9E2598 #9E6725 #259E2B #255B9E
split-complementary
#9E2598 #5B9E25 #259E67
monochromatic
#3B0E39 #6C1968 #9E2598 #CF31C7 #DA63D5

Accessibility & contrast

On white

6.62
#9E2598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E2598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2598
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2598#FFFFFF#000000##FFFFFF
##9E25981.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#4B6295
Tritanopia (blue-blind)
#A4365D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2598;
/* rgb */ color: rgb(158, 37, 152);
/* oklch */ color: oklch(50.3% 0.199 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6eb7',
    500: '#9e2598',
    950: '#000000',
  },
}
SCSS
$custom: #9e2598;
$custom-light: #be6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2598",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 302.975,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.19909,
    "h": 330.3
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#9E2598
secondary
#5FC064
accent
#E54B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2598

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

Preview Lab → · Contrast checker → · Palette generator →

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