#9E2596#9E2596

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

Color values

HEX#9E2596
RGBrgb(158, 37, 150)
HSLhsl(304, 62%, 38%)
HSVhsv(304, 77%, 62%)
CMYKcmyk(0%, 76.6%, 5.1%, 38%)
CIE-LABlab(39.23, 60.63, -34.71)
CIE-LCHlch(39.23, 69.87, 330.21°)
OKLaboklab(50.24% 0.1729 -0.0957)
OKLCHoklch(50.24% 0.198 331)
XYZxyz(20.2671, 10.7959, 29.8646)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2596 #259E2D
analogous
#69259E #9E2596 #9E2559
triadic
#9E2596 #969E25 #25969E
tetradic
#9E2596 #9E6925 #259E2D #25599E
square
#9E2596 #9E6925 #259E2D #25599E
split-complementary
#9E2596 #599E25 #259E69
monochromatic
#3B0E38 #6C1967 #9E2596 #CF31C4 #DA63D3

Accessibility & contrast

On white

6.65
#9E2596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E2596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2596
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2596#FFFFFF#000000##FFFFFF
##9E25961.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A4355C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2596;
/* rgb */ color: rgb(158, 37, 150);
/* oklch */ color: oklch(50.2% 0.198 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6eb5',
    500: '#9e2596',
    950: '#000000',
  },
}
SCSS
$custom: #9e2596;
$custom-light: #be6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2596",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 303.967,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.19759,
    "h": 331
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2596

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

Preview Lab → · Contrast checker → · Palette generator →

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