#9E4792#9E4792

#9E4792 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.6% C 0.149 H 333.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9E4792
RGBrgb(158, 71, 146)
HSLhsl(308, 38%, 45%)
HSVhsv(308, 55%, 62%)
CMYKcmyk(0%, 55.1%, 7.6%, 38%)
CIE-LABlab(44.02, 46.14, -24.79)
CIE-LCHlch(44.02, 52.38, 331.75°)
OKLaboklab(53.65% 0.1324 -0.0675)
OKLCHoklch(53.65% 0.149 333)
XYZxyz(21.5421, 13.8524, 28.7277)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4792 #479E53
analogous
#7F479E #9E4792 #9E4766
triadic
#9E4792 #929E47 #47929E
tetradic
#9E4792 #9E7F47 #479E53 #47669E
square
#9E4792 #9E7F47 #479E53 #47669E
split-complementary
#9E4792 #669E47 #479E7F
monochromatic
#4A2144 #74346B #9E4792 #BB67AF #CE92C6

Accessibility & contrast

On white

5.57
#9E4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9E4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4792
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4792#FFFFFF#000000##FFFFFF
##9E47921.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456094
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#A44D66
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e4792;
/* rgb */ color: rgb(158, 71, 146);
/* oklch */ color: oklch(53.6% 0.149 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd7eb2',
    500: '#9e4792',
    950: '#000000',
  },
}
SCSS
$custom: #9e4792;
$custom-light: #bd7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4792",
  "rgb": {
    "r": 158,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 308.276,
    "s": 37.991,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.14865,
    "h": 333
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#9E4792
secondary
#87BA8E
accent
#CE6A5A
background
#FBF7FA
surface
#F7EEF5
border
#D0C9CF
text
#120A11
muted
#817C80

Preview Lab

Preview with #9E4792

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

Preview Lab → · Contrast checker → · Palette generator →

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