#A66ABA#A66ABA

#A66ABA is a mid, vivid purple. Relative luminance 0.220; OKLCH L 61.9% C 0.133 H 317.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A66ABA
RGBrgb(166, 106, 186)
HSLhsl(285, 37%, 57%)
HSVhsv(285, 43%, 73%)
CMYKcmyk(10.8%, 43%, 0%, 27.1%)
CIE-LABlab(53.99, 37.79, -32.72)
CIE-LCHlch(53.99, 49.99, 319.11°)
OKLaboklab(61.87% 0.0979 -0.0903)
OKLCHoklch(61.87% 0.133 317.3)
XYZxyz(29.7416, 21.9611, 49.1171)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66ABA #7EBA6A
analogous
#7E6ABA #A66ABA #BA6AA6
triadic
#A66ABA #BAA66A #6ABAA6
tetradic
#A66ABA #BA7E6A #7EBA6A #6AA6BA
square
#A66ABA #BA7E6A #7EBA6A #6AA6BA
split-complementary
#A66ABA #A6BA6A #6ABA7E
monochromatic
#643674 #89499E #A66ABA #BF94CD #D8BEE1

Accessibility & contrast

On white

3.89
#A66ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A66ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66ABA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66ABA#FFFFFF#000000##000000
##A66ABA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#A67589
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a66aba;
/* rgb */ color: rgb(166, 106, 186);
/* oklch */ color: oklch(61.9% 0.133 317.3);
Tailwind
colors: {
  custom: {
    50: '#c296cf',
    500: '#a66aba',
    950: '#000000',
  },
}
SCSS
$custom: #a66aba;
$custom-light: #c296cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a66aba",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 285,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.13323,
    "h": 317.3
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#A66ABA
secondary
#B8D0B0
accent
#CD5B78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A66ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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