#9E2597#9E2597

#9E2597 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.198 H 330.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2597
RGBrgb(158, 37, 151)
HSLhsl(303, 62%, 38%)
HSVhsv(303, 77%, 62%)
CMYKcmyk(0%, 76.6%, 4.4%, 38%)
CIE-LABlab(39.29, 60.79, -35.23)
CIE-LCHlch(39.29, 70.27, 329.90°)
OKLaboklab(50.29% 0.1729 -0.0972)
OKLCHoklch(50.29% 0.198 330.6)
XYZxyz(20.3480, 10.8282, 30.2905)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2597 #259E2C
analogous
#68259E #9E2597 #9E255A
triadic
#9E2597 #979E25 #25979E
tetradic
#9E2597 #9E6825 #259E2C #255A9E
square
#9E2597 #9E6825 #259E2C #255A9E
split-complementary
#9E2597 #5A9E25 #259E68
monochromatic
#3B0E38 #6C1968 #9E2597 #CF31C6 #DA63D4

Accessibility & contrast

On white

6.63
#9E2597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2597
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2597#FFFFFF#000000##FFFFFF
##9E25971.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#A4355D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2597;
/* rgb */ color: rgb(158, 37, 151);
/* oklch */ color: oklch(50.3% 0.198 330.6);
Tailwind
colors: {
  custom: {
    50: '#be6eb6',
    500: '#9e2597',
    950: '#000000',
  },
}
SCSS
$custom: #9e2597;
$custom-light: #be6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2597",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 303.471,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.19835,
    "h": 330.6
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#9E2597
secondary
#5FC065
accent
#E54C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2597

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

Preview Lab → · Contrast checker → · Palette generator →

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