#A666CD#A666CD

#A666CD is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.2% C 0.162 H 311.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A666CD
RGBrgb(166, 102, 205)
HSLhsl(277, 51%, 60%)
HSVhsv(277, 50%, 80%)
CMYKcmyk(19%, 50.2%, 0%, 19.6%)
CIE-LABlab(54.05, 44.07, -43.51)
CIE-LCHlch(54.05, 61.93, 315.37°)
OKLaboklab(62.22% 0.1065 -0.1215)
OKLCHoklch(62.22% 0.162 311.2)
XYZxyz(31.4947, 22.0181, 60.3366)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666CD #8DCD66
analogous
#7366CD #A666CD #CD66C0
triadic
#A666CD #CDA666 #66CDA6
tetradic
#A666CD #CD7366 #8DCD66 #66C0CD
square
#A666CD #CD7366 #8DCD66 #66C0CD
split-complementary
#A666CD #C0CD66 #66CD73
monochromatic
#682D8B #8A3DB9 #A666CD #C194DC #DCC2EB

Accessibility & contrast

On white

3.89
#A666CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A666CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666CD#FFFFFF#000000##000000
##A666CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#5F83CA
Tritanopia (blue-blind)
#A27790
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a666cd;
/* rgb */ color: rgb(166, 102, 205);
/* oklch */ color: oklch(62.2% 0.162 311.2);
Tailwind
colors: {
  custom: {
    50: '#c393dd',
    500: '#a666cd',
    950: '#000000',
  },
}
SCSS
$custom: #a666cd;
$custom-light: #c393dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a666cd",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 277.282,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62216,
    "c": 0.16152,
    "h": 311.2
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#A666CD
secondary
#C3DBB4
accent
#BE2760
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A666CD

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

Preview Lab → · Contrast checker → · Palette generator →

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