#9C4792#9C4792

#9C4792 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.4% C 0.147 H 332.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9C4792
RGBrgb(156, 71, 146)
HSLhsl(307, 37%, 45%)
HSVhsv(307, 54%, 61%)
CMYKcmyk(0%, 54.5%, 6.4%, 38.8%)
CIE-LABlab(43.73, 45.55, -25.27)
CIE-LCHlch(43.73, 52.09, 330.98°)
OKLaboklab(53.37% 0.1301 -0.0689)
OKLCHoklch(53.37% 0.147 332.1)
XYZxyz(21.1518, 13.6511, 28.7094)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4792 #479C51
analogous
#7C479C #9C4792 #9C4768
triadic
#9C4792 #929C47 #47929C
tetradic
#9C4792 #9C7C47 #479C51 #47689C
square
#9C4792 #9C7C47 #479C51 #47689C
split-complementary
#9C4792 #689C47 #479C7C
monochromatic
#482143 #72346B #9C4792 #BA67B0 #CD91C6

Accessibility & contrast

On white

5.63
#9C4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9C4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4792
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4792#FFFFFF#000000##FFFFFF
##9C47921.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446094
Deuteranopia (green-blind)
#5E6C90
Tritanopia (blue-blind)
#A24D66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9c4792;
/* rgb */ color: rgb(156, 71, 146);
/* oklch */ color: oklch(53.4% 0.147 332.1);
Tailwind
colors: {
  custom: {
    50: '#bb7eb2',
    500: '#9c4792',
    950: '#000000',
  },
}
SCSS
$custom: #9c4792;
$custom-light: #bb7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4792",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 307.059,
    "s": 37.445,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.14724,
    "h": 332.1
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#9C4792
secondary
#86B88C
accent
#CD685A
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9C4792

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

Preview Lab → · Contrast checker → · Palette generator →

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