#9E2794#9E2794

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

Color values

HEX#9E2794
RGBrgb(158, 39, 148)
HSLhsl(305, 60%, 39%)
HSVhsv(305, 75%, 62%)
CMYKcmyk(0%, 75.3%, 6.3%, 38%)
CIE-LABlab(39.34, 59.69, -33.33)
CIE-LCHlch(39.34, 68.37, 330.83°)
OKLaboklab(50.28% 0.171 -0.0917)
OKLCHoklch(50.28% 0.194 331.8)
XYZxyz(20.1714, 10.8599, 29.0450)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2794 #279E31
analogous
#6C279E #9E2794 #9E2758
triadic
#9E2794 #949E27 #27949E
tetradic
#9E2794 #9E6C27 #279E31 #27589E
square
#9E2794 #9E6C27 #279E31 #27589E
split-complementary
#9E2794 #589E27 #279E6C
monochromatic
#3C0F38 #6D1B66 #9E2794 #CD35C0 #D966D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2794#FFFFFF#000000##FFFFFF
##9E27941.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)
#1E5297
Deuteranopia (green-blind)
#4E6291
Tritanopia (blue-blind)
#A5355B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2794;
/* rgb */ color: rgb(158, 39, 148);
/* oklch */ color: oklch(50.3% 0.194 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6eb4',
    500: '#9e2794',
    950: '#000000',
  },
}
SCSS
$custom: #9e2794;
$custom-light: #be6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2794",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 305.042,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.19405,
    "h": 331.8
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#9E2794
secondary
#62BF69
accent
#E45244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2794

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

Preview Lab → · Contrast checker → · Palette generator →

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