#A66EA2#A66EA2

#A66EA2 is a mid, moderate purple. Relative luminance 0.219; OKLCH L 61.5% C 0.100 H 329.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A66EA2
RGBrgb(166, 110, 162)
HSLhsl(304, 24%, 54%)
HSVhsv(304, 34%, 65%)
CMYKcmyk(0%, 33.7%, 2.4%, 34.9%)
CIE-LABlab(53.89, 30.75, -18.98)
CIE-LCHlch(53.89, 36.14, 328.31°)
OKLaboklab(61.47% 0.0861 -0.0513)
OKLCHoklch(61.47% 0.1 329.2)
XYZxyz(27.8229, 21.8686, 36.9309)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EA2 #6EA672
analogous
#8E6EA6 #A66EA2 #A66E86
triadic
#A66EA2 #A2A66E #6EA2A6
tetradic
#A66EA2 #A68E6E #6EA672 #6E86A6
square
#A66EA2 #A68E6E #6EA672 #6E86A6
split-complementary
#A66EA2 #86A66E #6EA68E
monochromatic
#5F3A5D #855281 #A66EA2 #BD94BA #D5BAD3

Accessibility & contrast

On white

3.91
#A66EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A66EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EA2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EA2#FFFFFF#000000##000000
##A66EA21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#AA7281
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a66ea2;
/* rgb */ color: rgb(166, 110, 162);
/* oklch */ color: oklch(61.5% 0.100 329.2);
Tailwind
colors: {
  custom: {
    50: '#c198bd',
    500: '#a66ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a66ea2;
$custom-light: #c198bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ea2",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 304.286,
    "s": 23.932,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61471,
    "c": 0.10027,
    "h": 329.2
  },
  "luminance": 0.21867
}

Semantic roles & 50–950 ramp

primary
#A66EA2
secondary
#ACC4AE
accent
#C06E67
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#120E12
muted
#817E81

Preview Lab

Preview with #A66EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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