#9A4792#9A4792

#9A4792 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.1% C 0.146 H 331.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9A4792
RGBrgb(154, 71, 146)
HSLhsl(306, 37%, 44%)
HSVhsv(306, 54%, 60%)
CMYKcmyk(0%, 53.9%, 5.2%, 39.6%)
CIE-LABlab(43.44, 44.95, -25.74)
CIE-LCHlch(43.44, 51.80, 330.20°)
OKLaboklab(53.1% 0.1278 -0.0703)
OKLCHoklch(53.1% 0.146 331.2)
XYZxyz(20.7678, 13.4532, 28.6914)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4792 #479A4F
analogous
#79479A #9A4792 #9A4769
triadic
#9A4792 #929A47 #47929A
tetradic
#9A4792 #9A7947 #479A4F #47699A
square
#9A4792 #9A7947 #479A4F #47699A
split-complementary
#9A4792 #699A47 #479A79
monochromatic
#462043 #70346A #9A4792 #B866B0 #CC90C6

Accessibility & contrast

On white

5.69
#9A4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9A4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4792
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4792#FFFFFF#000000##FFFFFF
##9A47921.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F94
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#A04E66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9a4792;
/* rgb */ color: rgb(154, 71, 146);
/* oklch */ color: oklch(53.1% 0.146 331.2);
Tailwind
colors: {
  custom: {
    50: '#ba7eb2',
    500: '#9a4792',
    950: '#000000',
  },
}
SCSS
$custom: #9a4792;
$custom-light: #ba7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4792",
  "rgb": {
    "r": 154,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 305.783,
    "s": 36.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.531,
    "c": 0.14585,
    "h": 331.2
  },
  "luminance": 0.13452
}

Semantic roles & 50–950 ramp

primary
#9A4792
secondary
#85B78A
accent
#CD665B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9A4792

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

Preview Lab → · Contrast checker → · Palette generator →

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