#A666D9#A666D9

#A666D9 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.175 H 307.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A666D9
RGBrgb(166, 102, 217)
HSLhsl(273, 60%, 63%)
HSVhsv(273, 53%, 85%)
CMYKcmyk(23.5%, 53%, 0%, 14.9%)
CIE-LABlab(54.68, 46.77, -49.31)
CIE-LCHlch(54.68, 67.96, 313.48°)
OKLaboklab(62.89% 0.1075 -0.1384)
OKLCHoklch(62.89% 0.175 307.8)
XYZxyz(32.9991, 22.6199, 68.2599)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666D9 #99D966
analogous
#6C66D9 #A666D9 #D966D3
triadic
#A666D9 #D9A666 #66D9A6
tetradic
#A666D9 #D96C66 #99D966 #66D3D9
square
#A666D9 #D96C66 #99D966 #66D3D9
split-complementary
#A666D9 #D3D966 #66D96C
monochromatic
#69279D #8935CD #A666D9 #C397E5 #DFC8F1

Accessibility & contrast

On white

3.80
#A666D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A666D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666D9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666D9#FFFFFF#000000##000000
##A666D91.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DD
Deuteranopia (green-blind)
#5784D6
Tritanopia (blue-blind)
#9F7A96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a666d9;
/* rgb */ color: rgb(166, 102, 217);
/* oklch */ color: oklch(62.9% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#c394e5',
    500: '#a666d9',
    950: '#000000',
  },
}
SCSS
$custom: #a666d9;
$custom-light: #c394e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a666d9",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 273.391,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.17525,
    "h": 307.8
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

primary
#A666D9
secondary
#CBE2B8
accent
#C81E69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666D9

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

Preview Lab → · Contrast checker → · Palette generator →

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