#9A6791#9A6791

#9A6791 is a mid, moderate pink. Relative luminance 0.186; OKLCH L 58.2% C 0.087 H 333.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9A6791
RGBrgb(154, 103, 145)
HSLhsl(311, 20%, 50%)
HSVhsv(311, 33%, 60%)
CMYKcmyk(0%, 33.1%, 5.8%, 39.6%)
CIE-LABlab(50.23, 27.37, -14.70)
CIE-LCHlch(50.23, 31.07, 331.76°)
OKLaboklab(58.18% 0.0779 -0.0395)
OKLCHoklch(58.18% 0.087 333.1)
XYZxyz(23.2872, 18.6159, 29.1491)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A6791 #679A70
analogous
#89679A #9A6791 #9A6777
triadic
#9A6791 #919A67 #67919A
tetradic
#9A6791 #9A8967 #679A70 #67779A
square
#9A6791 #9A8967 #679A70 #67779A
split-complementary
#9A6791 #779A67 #679A89
monochromatic
#51364C #764E6F #9A6791 #B28CAC #CBB1C6

Accessibility & contrast

On white

4.45
#9A6791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9A6791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A6791
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A6791#FFFFFF#000000##000000
##9A67911.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#667393
Deuteranopia (green-blind)
#737A8F
Tritanopia (blue-blind)
#9F6A76
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a6791;
/* rgb */ color: rgb(154, 103, 145);
/* oklch */ color: oklch(58.2% 0.087 333.1);
Tailwind
colors: {
  custom: {
    50: '#b893b1',
    500: '#9a6791',
    950: '#000000',
  },
}
SCSS
$custom: #9a6791;
$custom-light: #b893b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a6791",
  "rgb": {
    "r": 154,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 310.588,
    "s": 20.158,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.08732,
    "h": 333.1
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A6791

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

Preview Lab → · Contrast checker → · Palette generator →

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