#A666BC#A666BC

#A666BC is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.3% C 0.142 H 317.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A666BC
RGBrgb(166, 102, 188)
HSLhsl(285, 39%, 57%)
HSVhsv(285, 46%, 74%)
CMYKcmyk(11.7%, 45.7%, 0%, 26.3%)
CIE-LABlab(53.21, 40.40, -35.08)
CIE-LCHlch(53.21, 53.51, 319.03°)
OKLaboklab(61.33% 0.1042 -0.0971)
OKLCHoklch(61.33% 0.142 317)
XYZxyz(29.5530, 21.2415, 50.1104)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666BC #7CBC66
analogous
#7B66BC #A666BC #BC66A7
triadic
#A666BC #BCA666 #66BCA6
tetradic
#A666BC #BC7B66 #7CBC66 #66A7BC
square
#A666BC #BC7B66 #7CBC66 #66A7BC
split-complementary
#A666BC #A7BC66 #66BC7B
monochromatic
#643375 #88469F #A666BC #BF91CF #D8BBE1

Accessibility & contrast

On white

4.00
#A666BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A666BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666BC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666BC#FFFFFF#000000##000000
##A666BC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#A57288
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a666bc;
/* rgb */ color: rgb(166, 102, 188);
/* oklch */ color: oklch(61.3% 0.142 317.0);
Tailwind
colors: {
  custom: {
    50: '#c293d0',
    500: '#a666bc',
    950: '#000000',
  },
}
SCSS
$custom: #a666bc;
$custom-light: #c293d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a666bc",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 284.651,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.14238,
    "h": 317
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#A666BC
secondary
#B6D0AD
accent
#CF5977
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A666BC

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

Preview Lab → · Contrast checker → · Palette generator →

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