#9A6792#9A6792

#9A6792 is a mid, moderate purple. Relative luminance 0.186; OKLCH L 58.2% C 0.088 H 332.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9A6792
RGBrgb(154, 103, 146)
HSLhsl(309, 20%, 50%)
HSVhsv(309, 33%, 60%)
CMYKcmyk(0%, 33.1%, 5.2%, 39.6%)
CIE-LABlab(50.27, 27.56, -15.24)
CIE-LCHlch(50.27, 31.49, 331.07°)
OKLaboklab(58.22% 0.0782 -0.041)
OKLCHoklch(58.22% 0.088 332.3)
XYZxyz(23.3647, 18.6468, 29.5570)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6792 #679A6F
analogous
#88679A #9A6792 #9A6778
triadic
#9A6792 #929A67 #67929A
tetradic
#9A6792 #9A8867 #679A6F #67789A
square
#9A6792 #9A8867 #679A6F #67789A
split-complementary
#9A6792 #789A67 #679A88
monochromatic
#51364D #764E6F #9A6792 #B28CAC #CBB1C7

Accessibility & contrast

On white

4.44
#9A6792 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9A6792 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6792
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6792#FFFFFF#000000##000000
##9A67921.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#667394
Deuteranopia (green-blind)
#737A90
Tritanopia (blue-blind)
#9E6A76
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a6792;
/* rgb */ color: rgb(154, 103, 146);
/* oklch */ color: oklch(58.2% 0.088 332.3);
Tailwind
colors: {
  custom: {
    50: '#b893b2',
    500: '#9a6792',
    950: '#000000',
  },
}
SCSS
$custom: #9a6792;
$custom-light: #b893b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6792",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 146
  },
  "hsl": {
    "h": 309.412,
    "s": 20.158,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.08828,
    "h": 332.3
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#9A6792
secondary
#A3BAA7
accent
#BD786B
background
#FBF9FA
surface
#F6F1F5
border
#D0CBCF
text
#110D10
muted
#807E7F

Preview Lab

Preview with #9A6792

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

Preview Lab → · Contrast checker → · Palette generator →

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