#A6799F#A6799F

#A6799F is a light, moderate purple. Relative luminance 0.243; OKLCH L 63.3% C 0.077 H 331.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A6799F
RGBrgb(166, 121, 159)
HSLhsl(309, 20%, 56%)
HSVhsv(309, 27%, 65%)
CMYKcmyk(0%, 27.1%, 4.2%, 34.9%)
CIE-LABlab(56.37, 23.96, -13.47)
CIE-LCHlch(56.37, 27.49, 330.66°)
OKLaboklab(63.33% 0.0677 -0.0361)
OKLCHoklch(63.33% 0.077 331.9)
XYZxyz(28.8208, 24.2859, 35.9637)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6799F #79A680
analogous
#9779A6 #A6799F #A67989
triadic
#A6799F #9FA679 #799FA6
tetradic
#A6799F #A69779 #79A680 #7989A6
square
#A6799F #A69779 #79A680 #7989A6
split-complementary
#A6799F #89A679 #79A697
monochromatic
#63425E #885A81 #A6799F #BE9EB9 #D7C3D4

Accessibility & contrast

On white

3.59
#A6799F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A6799F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6799F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6799F#FFFFFF#000000##000000
##A6799F1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A1
Deuteranopia (green-blind)
#83899E
Tritanopia (blue-blind)
#AA7B86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6799f;
/* rgb */ color: rgb(166, 121, 159);
/* oklch */ color: oklch(63.3% 0.077 331.9);
Tailwind
colors: {
  custom: {
    50: '#c1a0bb',
    500: '#a6799f',
    950: '#000000',
  },
}
SCSS
$custom: #a6799f;
$custom-light: #c1a0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a6799f",
  "rgb": {
    "r": 166,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 309.333,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.07671,
    "h": 331.9
  },
  "luminance": 0.24285
}

Semantic roles & 50–950 ramp

primary
#A6799F
secondary
#B4C7B7
accent
#BD786B
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E11
muted
#817E80

Preview Lab

Preview with #A6799F

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

Preview Lab → · Contrast checker → · Palette generator →

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