#A6789F#A6789F

#A6789F is a light, moderate purple. Relative luminance 0.240; OKLCH L 63.1% C 0.079 H 331.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A6789F
RGBrgb(166, 120, 159)
HSLhsl(309, 21%, 56%)
HSVhsv(309, 28%, 65%)
CMYKcmyk(0%, 27.7%, 4.2%, 34.9%)
CIE-LABlab(56.13, 24.53, -13.83)
CIE-LCHlch(56.13, 28.16, 330.58°)
OKLaboklab(63.14% 0.0693 -0.0371)
OKLCHoklch(63.14% 0.079 331.8)
XYZxyz(28.6999, 24.0442, 35.9234)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6789F #78A67F
analogous
#9678A6 #A6789F #A67888
triadic
#A6789F #9FA678 #789FA6
tetradic
#A6789F #A69678 #78A67F #7888A6
square
#A6789F #A69678 #78A67F #7888A6
split-complementary
#A6789F #88A678 #78A696
monochromatic
#63415D #875980 #A6789F #BE9DB9 #D7C2D3

Accessibility & contrast

On white

3.62
#A6789F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A6789F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6789F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6789F#FFFFFF#000000##000000
##A6789F1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A1
Deuteranopia (green-blind)
#82899D
Tritanopia (blue-blind)
#AA7A86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6789f;
/* rgb */ color: rgb(166, 120, 159);
/* oklch */ color: oklch(63.1% 0.079 331.8);
Tailwind
colors: {
  custom: {
    50: '#c19fbb',
    500: '#a6789f',
    950: '#000000',
  },
}
SCSS
$custom: #a6789f;
$custom-light: #c19fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6789f",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 309.13,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.0786,
    "h": 331.8
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#A6789F
secondary
#B3C6B6
accent
#BD776B
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E11
muted
#817E80

Preview Lab

Preview with #A6789F

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

Preview Lab → · Contrast checker → · Palette generator →

#A6789F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva