#9A6799#9A6799

#9A6799 is a mid, moderate purple. Relative luminance 0.189; OKLCH L 58.5% C 0.095 H 327.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9A6799
RGBrgb(154, 103, 153)
HSLhsl(301, 20%, 50%)
HSVhsv(301, 33%, 60%)
CMYKcmyk(0%, 33.1%, 0.6%, 39.6%)
CIE-LABlab(50.54, 28.91, -18.96)
CIE-LCHlch(50.54, 34.57, 326.74°)
OKLaboklab(58.51% 0.0803 -0.0514)
OKLCHoklch(58.51% 0.095 327.4)
XYZxyz(23.9260, 18.8713, 32.5130)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6799 #679A68
analogous
#81679A #9A6799 #9A6780
triadic
#9A6799 #999A67 #67999A
tetradic
#9A6799 #9A8167 #679A68 #67809A
square
#9A6799 #9A8167 #679A68 #67809A
split-complementary
#9A6799 #809A67 #679A81
monochromatic
#513650 #764E75 #9A6799 #B28CB2 #CBB1CA

Accessibility & contrast

On white

4.40
#9A6799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9A6799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6799
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6799#FFFFFF#000000##000000
##9A67991.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#64749B
Deuteranopia (green-blind)
#707B97
Tritanopia (blue-blind)
#9D6B79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a6799;
/* rgb */ color: rgb(154, 103, 153);
/* oklch */ color: oklch(58.5% 0.095 327.4);
Tailwind
colors: {
  custom: {
    50: '#b893b7',
    500: '#9a6799',
    950: '#000000',
  },
}
SCSS
$custom: #9a6799;
$custom-light: #b893b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6799",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 301.176,
    "s": 20.158,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.0953,
    "h": 327.4
  },
  "luminance": 0.1887
}

Semantic roles & 50–950 ramp

primary
#9A6799
secondary
#A3BAA3
accent
#BD6D6B
background
#FBF9FB
surface
#F6F1F6
border
#D0CBD0
text
#110D11
muted
#807E80

Preview Lab

Preview with #9A6799

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

Preview Lab → · Contrast checker → · Palette generator →

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