#A666BB#A666BB

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

Color values

HEX#A666BB
RGBrgb(166, 102, 187)
HSLhsl(285, 38%, 57%)
HSVhsv(285, 45%, 73%)
CMYKcmyk(11.2%, 45.5%, 0%, 26.7%)
CIE-LABlab(53.17, 40.19, -34.58)
CIE-LCHlch(53.17, 53.02, 319.29°)
OKLaboklab(61.27% 0.104 -0.0956)
OKLCHoklch(61.27% 0.141 317.4)
XYZxyz(29.4456, 21.1985, 49.5447)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666BB #7BBB66
analogous
#7C66BB #A666BB #BB66A6
triadic
#A666BB #BBA666 #66BBA6
tetradic
#A666BB #BB7C66 #7BBB66 #66A6BB
square
#A666BB #BB7C66 #7BBB66 #66A6BB
split-complementary
#A666BB #A6BB66 #66BB7C
monochromatic
#643373 #88469E #A666BB #BF90CE #D7BBE1

Accessibility & contrast

On white

4.01
#A666BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A666BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666BB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666BB#FFFFFF#000000##000000
##A666BB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBE
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#A67288
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a666bb;
/* rgb */ color: rgb(166, 102, 187);
/* oklch */ color: oklch(61.3% 0.141 317.4);
Tailwind
colors: {
  custom: {
    50: '#c293d0',
    500: '#a666bb',
    950: '#000000',
  },
}
SCSS
$custom: #a666bb;
$custom-light: #c293d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a666bb",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 285.176,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61274,
    "c": 0.14127,
    "h": 317.4
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A666BB

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

Preview Lab → · Contrast checker → · Palette generator →

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