#9E2792#9E2792

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

Color values

HEX#9E2792
RGBrgb(158, 39, 146)
HSLhsl(306, 60%, 39%)
HSVhsv(306, 75%, 62%)
CMYKcmyk(0%, 75.3%, 7.6%, 38%)
CIE-LABlab(39.24, 59.38, -32.28)
CIE-LCHlch(39.24, 67.58, 331.47°)
OKLaboklab(50.17% 0.1709 -0.0887)
OKLCHoklch(50.17% 0.193 332.6)
XYZxyz(20.0145, 10.7971, 28.2185)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2792 #279E33
analogous
#6E279E #9E2792 #9E2756
triadic
#9E2792 #929E27 #27929E
tetradic
#9E2792 #9E6E27 #279E33 #27569E
square
#9E2792 #9E6E27 #279E33 #27569E
split-complementary
#9E2792 #569E27 #279E6E
monochromatic
#3C0F37 #6D1B65 #9E2792 #CD35BE #D966CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2792#FFFFFF#000000##FFFFFF
##9E27921.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)
#205295
Deuteranopia (green-blind)
#4F628F
Tritanopia (blue-blind)
#A5345A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2792;
/* rgb */ color: rgb(158, 39, 146);
/* oklch */ color: oklch(50.2% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6eb2',
    500: '#9e2792',
    950: '#000000',
  },
}
SCSS
$custom: #9e2792;
$custom-light: #be6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2792",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 306.05,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.19256,
    "h": 332.6
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#9E2792
secondary
#62BF6B
accent
#E45444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2792

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

Preview Lab → · Contrast checker → · Palette generator →

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