#A666CA#A666CA

#A666CA is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.1% C 0.158 H 312.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A666CA
RGBrgb(166, 102, 202)
HSLhsl(278, 49%, 60%)
HSVhsv(278, 50%, 79%)
CMYKcmyk(17.8%, 49.5%, 0%, 20.8%)
CIE-LABlab(53.89, 43.41, -42.04)
CIE-LCHlch(53.89, 60.43, 315.92°)
OKLaboklab(62.05% 0.1061 -0.1172)
OKLCHoklch(62.05% 0.158 312.2)
XYZxyz(31.1361, 21.8747, 58.4477)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666CA #8ACA66
analogous
#7466CA #A666CA #CA66BC
triadic
#A666CA #CAA666 #66CAA6
tetradic
#A666CA #CA7466 #8ACA66 #66BCCA
square
#A666CA #CA7466 #8ACA66 #66BCCA
split-complementary
#A666CA #BCCA66 #66CA74
monochromatic
#672F87 #8A3EB4 #A666CA #C093DA #DBC1E9

Accessibility & contrast

On white

3.91
#A666CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A666CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666CA#FFFFFF#000000##000000
##A666CA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#A2768F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a666ca;
/* rgb */ color: rgb(166, 102, 202);
/* oklch */ color: oklch(62.1% 0.158 312.2);
Tailwind
colors: {
  custom: {
    50: '#c293da',
    500: '#a666ca',
    950: '#000000',
  },
}
SCSS
$custom: #a666ca;
$custom-light: #c293da;
$custom-dark: #000000;
JSON
{
  "hex": "#a666ca",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 278.4,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.15811,
    "h": 312.2
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#A666CA
secondary
#C0D9B2
accent
#D85081
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A666CA

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

Preview Lab → · Contrast checker → · Palette generator →

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