#A666DC#A666DC

#A666DC is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.179 H 307.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A666DC
RGBrgb(166, 102, 220)
HSLhsl(273, 63%, 63%)
HSVhsv(273, 54%, 86%)
CMYKcmyk(24.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(54.84, 47.46, -50.75)
CIE-LCHlch(54.84, 69.48, 313.08°)
OKLaboklab(63.06% 0.1077 -0.1426)
OKLCHoklch(63.06% 0.179 307.1)
XYZxyz(33.3929, 22.7774, 70.3336)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666DC #9CDC66
analogous
#6B66DC #A666DC #DC66D7
triadic
#A666DC #DCA666 #66DCA6
tetradic
#A666DC #DC6B66 #9CDC66 #66D7DC
square
#A666DC #DC6B66 #9CDC66 #66D7DC
split-complementary
#A666DC #D7DC66 #66DC6B
monochromatic
#6925A2 #8934D1 #A666DC #C398E7 #E0CAF3

Accessibility & contrast

On white

3.78
#A666DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A666DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666DC#FFFFFF#000000##000000
##A666DC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#9E7B97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a666dc;
/* rgb */ color: rgb(166, 102, 220);
/* oklch */ color: oklch(63.1% 0.179 307.1);
Tailwind
colors: {
  custom: {
    50: '#c394e7',
    500: '#a666dc',
    950: '#000000',
  },
}
SCSS
$custom: #a666dc;
$custom-light: #c394e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a666dc",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 272.542,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63063,
    "c": 0.17869,
    "h": 307.1
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#A666DC
secondary
#CDE4BA
accent
#CB1B6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666DC

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

Preview Lab → · Contrast checker → · Palette generator →

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