#9E2795#9E2795

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

Color values

HEX#9E2795
RGBrgb(158, 39, 149)
HSLhsl(305, 60%, 39%)
HSVhsv(305, 75%, 62%)
CMYKcmyk(0%, 75.3%, 5.7%, 38%)
CIE-LABlab(39.40, 59.85, -33.85)
CIE-LCHlch(39.40, 68.76, 330.51°)
OKLaboklab(50.33% 0.171 -0.0932)
OKLCHoklch(50.33% 0.195 331.4)
XYZxyz(20.2509, 10.8917, 29.4637)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2795 #279E30
analogous
#6B279E #9E2795 #9E2759
triadic
#9E2795 #959E27 #27959E
tetradic
#9E2795 #9E6B27 #279E30 #27599E
square
#9E2795 #9E6B27 #279E30 #27599E
split-complementary
#9E2795 #599E27 #279E6B
monochromatic
#3C0F38 #6D1B67 #9E2795 #CD35C2 #D966D1

Accessibility & contrast

On white

6.61
#9E2795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E2795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2795
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2795#FFFFFF#000000##FFFFFF
##9E27951.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#4D6392
Tritanopia (blue-blind)
#A5365C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2795;
/* rgb */ color: rgb(158, 39, 149);
/* oklch */ color: oklch(50.3% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6eb4',
    500: '#9e2795',
    950: '#000000',
  },
}
SCSS
$custom: #9e2795;
$custom-light: #be6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2795",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 304.538,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50334,
    "c": 0.19479,
    "h": 331.4
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2795

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

Preview Lab → · Contrast checker → · Palette generator →

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