#A666FF#A666FF

#A666FF is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.2% C 0.219 H 299.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A666FF
RGBrgb(166, 102, 255)
HSLhsl(265, 100%, 70%)
HSVhsv(265, 60%, 100%)
CMYKcmyk(34.9%, 60%, 0%, 0%)
CIE-LABlab(56.91, 55.76, -66.97)
CIE-LCHlch(56.91, 87.15, 309.78°)
OKLaboklab(65.24% 0.1079 -0.1902)
OKLCHoklch(65.24% 0.219 299.6)
XYZxyz(38.5228, 24.8294, 97.3513)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666FF #BFFF66
analogous
#6673FF #A666FF #F266FF
triadic
#A666FF #FFA666 #66FFA6
tetradic
#A666FF #FF6673 #BFFF66 #66FFF2
square
#A666FF #FF6673 #BFFF66 #66FFF2
split-complementary
#A666FF #FFF266 #73FF66
monochromatic
#6200EB #8229FF #A666FF #CAA3FF #EDE0FF

Accessibility & contrast

On white

3.52
#A666FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#A666FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666FF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666FF#FFFFFF#000000##000000
##A666FF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#2D87FC
Tritanopia (blue-blind)
#9387A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a666ff;
/* rgb */ color: rgb(166, 102, 255);
/* oklch */ color: oklch(65.2% 0.219 299.6);
Tailwind
colors: {
  custom: {
    50: '#c594ff',
    500: '#a666ff',
    950: '#000000',
  },
}
SCSS
$custom: #a666ff;
$custom-light: #c594ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a666ff",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 265.098,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.6524,
    "c": 0.21867,
    "h": 299.6
  },
  "luminance": 0.2483
}

Semantic roles & 50–950 ramp

primary
#A666FF
secondary
#E4F6CB
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A666FF

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

Preview Lab → · Contrast checker → · Palette generator →

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