#A666ED#A666ED

#A666ED is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.1% C 0.198 H 303.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A666ED
RGBrgb(166, 102, 237)
HSLhsl(268, 79%, 66%)
HSVhsv(268, 57%, 93%)
CMYKcmyk(30%, 57%, 0%, 7.1%)
CIE-LABlab(55.81, 51.43, -58.74)
CIE-LCHlch(55.81, 78.07, 311.20°)
OKLaboklab(64.09% 0.1082 -0.166)
OKLCHoklch(64.09% 0.198 303.1)
XYZxyz(35.7599, 23.7242, 82.7996)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666ED #ADED66
analogous
#666AED #A666ED #E966ED
triadic
#A666ED #EDA666 #66EDA6
tetradic
#A666ED #ED666A #ADED66 #66EDE9
square
#A666ED #ED666A #ADED66 #66EDE9
split-complementary
#A666ED #EDE966 #6AED66
monochromatic
#6817C2 #862FE7 #A666ED #C69DF3 #E6D4FA

Accessibility & contrast

On white

3.66
#A666ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A666ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666ED
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666ED#FFFFFF#000000##000000
##A666ED1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F1
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#9981A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a666ed;
/* rgb */ color: rgb(166, 102, 237);
/* oklch */ color: oklch(64.1% 0.198 303.1);
Tailwind
colors: {
  custom: {
    50: '#c494f3',
    500: '#a666ed',
    950: '#000000',
  },
}
SCSS
$custom: #a666ed;
$custom-light: #c494f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a666ed",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 268.444,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64087,
    "c": 0.19817,
    "h": 303.1
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#A666ED
secondary
#D9EDC2
accent
#DB0A78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666ED

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

Preview Lab → · Contrast checker → · Palette generator →

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