#9A6794#9A6794

#9A6794 is a mid, moderate purple. Relative luminance 0.187; OKLCH L 58.3% C 0.090 H 330.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9A6794
RGBrgb(154, 103, 148)
HSLhsl(307, 20%, 50%)
HSVhsv(307, 33%, 60%)
CMYKcmyk(0%, 33.1%, 3.9%, 39.6%)
CIE-LABlab(50.35, 27.94, -16.30)
CIE-LCHlch(50.35, 32.35, 329.74°)
OKLaboklab(58.3% 0.0788 -0.044)
OKLCHoklch(58.3% 0.09 330.8)
XYZxyz(23.5216, 18.7096, 30.3835)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6794 #679A6D
analogous
#86679A #9A6794 #9A677A
triadic
#9A6794 #949A67 #67949A
tetradic
#9A6794 #9A8667 #679A6D #677A9A
square
#9A6794 #9A8667 #679A6D #677A9A
split-complementary
#9A6794 #7A9A67 #679A86
monochromatic
#51364E #764E71 #9A6794 #B28CAE #CBB1C8

Accessibility & contrast

On white

4.43
#9A6794 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9A6794 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6794
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6794#FFFFFF#000000##000000
##9A67941.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657396
Deuteranopia (green-blind)
#727A92
Tritanopia (blue-blind)
#9E6A77
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a6794;
/* rgb */ color: rgb(154, 103, 148);
/* oklch */ color: oklch(58.3% 0.090 330.8);
Tailwind
colors: {
  custom: {
    50: '#b893b3',
    500: '#9a6794',
    950: '#000000',
  },
}
SCSS
$custom: #9a6794;
$custom-light: #b893b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6794",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 307.059,
    "s": 20.158,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.09023,
    "h": 330.8
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#9A6794
secondary
#A3BAA6
accent
#BD756B
background
#FBF9FB
surface
#F6F1F6
border
#D0CBD0
text
#110D11
muted
#807E80

Preview Lab

Preview with #9A6794

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

Preview Lab → · Contrast checker → · Palette generator →

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