#9A6796#9A6796

#9A6796 is a mid, moderate purple. Relative luminance 0.188; OKLCH L 58.4% C 0.092 H 329.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9A6796
RGBrgb(154, 103, 150)
HSLhsl(305, 20%, 50%)
HSVhsv(305, 33%, 60%)
CMYKcmyk(0%, 33.1%, 2.6%, 39.6%)
CIE-LABlab(50.42, 28.33, -17.37)
CIE-LCHlch(50.42, 33.23, 328.48°)
OKLaboklab(58.38% 0.0794 -0.0469)
OKLCHoklch(58.38% 0.092 329.4)
XYZxyz(23.6813, 18.7735, 31.2245)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6796 #679A6B
analogous
#84679A #9A6796 #9A677C
triadic
#9A6796 #969A67 #67969A
tetradic
#9A6796 #9A8467 #679A6B #677C9A
square
#9A6796 #9A8467 #679A6B #677C9A
split-complementary
#9A6796 #7C9A67 #679A84
monochromatic
#51364F #764E73 #9A6796 #B28CAF #CBB1C9

Accessibility & contrast

On white

4.42
#9A6796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9A6796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6796
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6796#FFFFFF#000000##000000
##9A67961.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657498
Deuteranopia (green-blind)
#717A94
Tritanopia (blue-blind)
#9E6B78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a6796;
/* rgb */ color: rgb(154, 103, 150);
/* oklch */ color: oklch(58.4% 0.092 329.4);
Tailwind
colors: {
  custom: {
    50: '#b893b5',
    500: '#9a6796',
    950: '#000000',
  },
}
SCSS
$custom: #9a6796;
$custom-light: #b893b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6796",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 304.706,
    "s": 20.158,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.09222,
    "h": 329.4
  },
  "luminance": 0.18773
}

Semantic roles & 50–950 ramp

primary
#9A6796
secondary
#A3BAA5
accent
#BD716B
background
#FBF9FB
surface
#F6F1F6
border
#D0CBD0
text
#110D11
muted
#807E80

Preview Lab

Preview with #9A6796

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

Preview Lab → · Contrast checker → · Palette generator →

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