#A666DD#A666DD

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

Color values

HEX#A666DD
RGBrgb(166, 102, 221)
HSLhsl(272, 64%, 63%)
HSVhsv(272, 54%, 87%)
CMYKcmyk(24.9%, 53.8%, 0%, 13.3%)
CIE-LABlab(54.90, 47.69, -51.22)
CIE-LCHlch(54.90, 69.98, 312.95°)
OKLaboklab(63.12% 0.1077 -0.144)
OKLCHoklch(63.12% 0.18 306.8)
XYZxyz(33.5257, 22.8305, 71.0332)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666DD #9DDD66
analogous
#6A66DD #A666DD #DD66D8
triadic
#A666DD #DDA666 #66DDA6
tetradic
#A666DD #DD6A66 #9DDD66 #66D8DD
square
#A666DD #DD6A66 #9DDD66 #66D8DD
split-complementary
#A666DD #D8DD66 #66DD6A
monochromatic
#6924A4 #8934D2 #A666DD #C398E8 #E0CAF3

Accessibility & contrast

On white

3.77
#A666DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A666DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666DD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666DD#FFFFFF#000000##000000
##A666DD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E1
Deuteranopia (green-blind)
#5484DA
Tritanopia (blue-blind)
#9D7C98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a666dd;
/* rgb */ color: rgb(166, 102, 221);
/* oklch */ color: oklch(63.1% 0.180 306.8);
Tailwind
colors: {
  custom: {
    50: '#c394e8',
    500: '#a666dd',
    950: '#000000',
  },
}
SCSS
$custom: #a666dd;
$custom-light: #c394e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a666dd",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 272.269,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63121,
    "c": 0.17984,
    "h": 306.8
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#A666DD
secondary
#CEE5BA
accent
#CB1A6C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666DD

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

Preview Lab → · Contrast checker → · Palette generator →

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