#A666DF#A666DF

#A666DF is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.182 H 306.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A666DF
RGBrgb(166, 102, 223)
HSLhsl(272, 65%, 64%)
HSVhsv(272, 54%, 87%)
CMYKcmyk(25.6%, 54.3%, 0%, 12.5%)
CIE-LABlab(55.01, 48.15, -52.17)
CIE-LCHlch(55.01, 70.99, 312.70°)
OKLaboklab(63.24% 0.1078 -0.1468)
OKLCHoklch(63.24% 0.182 306.3)
XYZxyz(33.7938, 22.9377, 72.4449)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666DF #9FDF66
analogous
#6966DF #A666DF #DF66DB
triadic
#A666DF #DFA666 #66DFA6
tetradic
#A666DF #DF6966 #9FDF66 #66DBDF
square
#A666DF #DF6966 #9FDF66 #66DBDF
split-complementary
#A666DF #DBDF66 #66DF69
monochromatic
#6923A8 #8933D4 #A666DF #C399EA #E1CBF4

Accessibility & contrast

On white

3.76
#A666DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A666DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666DF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666DF#FFFFFF#000000##000000
##A666DF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E3
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#9D7C99
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a666df;
/* rgb */ color: rgb(166, 102, 223);
/* oklch */ color: oklch(63.2% 0.182 306.3);
Tailwind
colors: {
  custom: {
    50: '#c394e9',
    500: '#a666df',
    950: '#000000',
  },
}
SCSS
$custom: #a666df;
$custom-light: #c394e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a666df",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 271.736,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63239,
    "c": 0.18213,
    "h": 306.3
  },
  "luminance": 0.22937
}

Semantic roles & 50–950 ramp

primary
#A666DF
secondary
#CFE6BB
accent
#CD186E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666DF

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

Preview Lab → · Contrast checker → · Palette generator →

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