#A66EA7#A66EA7

#A66EA7 is a mid, moderate purple. Relative luminance 0.220; OKLCH L 61.7% C 0.105 H 326.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A66EA7
RGBrgb(166, 110, 167)
HSLhsl(299, 24%, 54%)
HSVhsv(299, 34%, 65%)
CMYKcmyk(0.6%, 34.1%, 0%, 34.5%)
CIE-LABlab(54.08, 31.71, -21.59)
CIE-LCHlch(54.08, 38.37, 325.75°)
OKLaboklab(61.68% 0.0875 -0.0587)
OKLCHoklch(61.68% 0.105 326.2)
XYZxyz(28.2762, 22.0499, 39.3183)
Luminance0.2205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EA7 #6FA76E
analogous
#8A6EA7 #A66EA7 #A76E8C
triadic
#A66EA7 #A7A66E #6EA7A6
tetradic
#A66EA7 #A78A6E #6FA76E #6E8CA7
square
#A66EA7 #A78A6E #6FA76E #6E8CA7
split-complementary
#A66EA7 #8CA76E #6EA78A
monochromatic
#603A60 #855286 #A66EA7 #BD94BE #D5BAD5

Accessibility & contrast

On white

3.88
#A66EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A66EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EA7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EA7#FFFFFF#000000##000000
##A66EA71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#A97383
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a66ea7;
/* rgb */ color: rgb(166, 110, 167);
/* oklch */ color: oklch(61.7% 0.105 326.2);
Tailwind
colors: {
  custom: {
    50: '#c198c1',
    500: '#a66ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a66ea7;
$custom-light: #c198c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ea7",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 298.947,
    "s": 24.464,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.10535,
    "h": 326.2
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#A66EA7
secondary
#ADC4AC
accent
#C16768
background
#FCF9FB
surface
#F8F2F7
border
#D1CCD0
text
#120E12
muted
#817E81

Preview Lab

Preview with #A66EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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