#A666AF#A666AF

#A666AF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 60.7% C 0.128 H 322.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A666AF
RGBrgb(166, 102, 175)
HSLhsl(293, 31%, 54%)
HSVhsv(293, 42%, 69%)
CMYKcmyk(5.1%, 41.7%, 0%, 31.4%)
CIE-LABlab(52.63, 37.74, -28.48)
CIE-LCHlch(52.63, 47.28, 322.96°)
OKLaboklab(60.69% 0.1017 -0.0781)
OKLCHoklch(60.69% 0.128 322.5)
XYZxyz(28.2143, 20.7060, 43.0596)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666AF #6FAF66
analogous
#8266AF #A666AF #AF6694
triadic
#A666AF #AFA666 #66AFA6
tetradic
#A666AF #AF8266 #6FAF66 #6694AF
square
#A666AF #AF8266 #6FAF66 #6694AF
split-complementary
#A666AF #94AF66 #66AF82
monochromatic
#603566 #854A8E #A666AF #BD8EC4 #D5B6D9

Accessibility & contrast

On white

4.08
#A666AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A666AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666AF#FFFFFF#000000##000000
##A666AF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B2
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#A86E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a666af;
/* rgb */ color: rgb(166, 102, 175);
/* oklch */ color: oklch(60.7% 0.128 322.5);
Tailwind
colors: {
  custom: {
    50: '#c293c7',
    500: '#a666af',
    950: '#000000',
  },
}
SCSS
$custom: #a666af;
$custom-light: #c293c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a666af",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 292.603,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.12826,
    "h": 322.5
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#A666AF
secondary
#ADC8A9
accent
#C8606D
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A666AF

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

Preview Lab → · Contrast checker → · Palette generator →

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