#A666CF#A666CF

#A666CF is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.3% C 0.164 H 310.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A666CF
RGBrgb(166, 102, 207)
HSLhsl(277, 52%, 61%)
HSVhsv(277, 51%, 81%)
CMYKcmyk(19.8%, 50.7%, 0%, 18.8%)
CIE-LABlab(54.15, 44.52, -44.48)
CIE-LCHlch(54.15, 62.93, 315.02°)
OKLaboklab(62.33% 0.1067 -0.1243)
OKLCHoklch(62.33% 0.164 310.6)
XYZxyz(31.7377, 22.1153, 61.6161)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666CF #8FCF66
analogous
#7166CF #A666CF #CF66C4
triadic
#A666CF #CFA666 #66CFA6
tetradic
#A666CF #CF7166 #8FCF66 #66C4CF
square
#A666CF #CF7166 #8FCF66 #66C4CF
split-complementary
#A666CF #C4CF66 #66CF71
monochromatic
#682D8E #8A3BBD #A666CF #C195DE #DCC3EC

Accessibility & contrast

On white

3.87
#A666CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A666CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666CF#FFFFFF#000000##000000
##A666CF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED3
Deuteranopia (green-blind)
#5E83CC
Tritanopia (blue-blind)
#A17791
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a666cf;
/* rgb */ color: rgb(166, 102, 207);
/* oklch */ color: oklch(62.3% 0.164 310.6);
Tailwind
colors: {
  custom: {
    50: '#c393de',
    500: '#a666cf',
    950: '#000000',
  },
}
SCSS
$custom: #a666cf;
$custom-light: #c393de;
$custom-dark: #000000;
JSON
{
  "hex": "#a666cf",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 276.571,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62326,
    "c": 0.1638,
    "h": 310.6
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#A666CF
secondary
#C4DCB4
accent
#C02662
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A666CF

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

Preview Lab → · Contrast checker → · Palette generator →

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