#A66AAA#A66AAA

#A66AAA is a mid, moderate purple. Relative luminance 0.213; OKLCH L 61.1% C 0.116 H 324.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A66AAA
RGBrgb(166, 106, 170)
HSLhsl(296, 27%, 54%)
HSVhsv(296, 38%, 67%)
CMYKcmyk(2.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(53.30, 34.54, -24.54)
CIE-LCHlch(53.30, 42.37, 324.60°)
OKLaboklab(61.13% 0.0945 -0.067)
OKLCHoklch(61.13% 0.116 324.7)
XYZxyz(28.1349, 21.3184, 40.6553)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AAA #6EAA6A
analogous
#866AAA #A66AAA #AA6A8E
triadic
#A66AAA #AAA66A #6AAAA6
tetradic
#A66AAA #AA866A #6EAA6A #6A8EAA
square
#A66AAA #AA866A #6EAA6A #6A8EAA
split-complementary
#A66AAA #8EAA6A #6AAA86
monochromatic
#5F3862 #854E89 #A66AAA #BD91C0 #D5B8D6

Accessibility & contrast

On white

3.99
#A66AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A66AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AAA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AAA#FFFFFF#000000##000000
##A66AAA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAC
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#A97182
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a66aaa;
/* rgb */ color: rgb(166, 106, 170);
/* oklch */ color: oklch(61.1% 0.116 324.7);
Tailwind
colors: {
  custom: {
    50: '#c196c3',
    500: '#a66aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a66aaa;
$custom-light: #c196c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a66aaa",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 296.25,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61128,
    "c": 0.1158,
    "h": 324.7
  },
  "luminance": 0.21317
}

Semantic roles & 50–950 ramp

primary
#A66AAA
secondary
#ACC6AA
accent
#C4646A
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120D12
muted
#817E81

Preview Lab

Preview with #A66AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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