#A66AEF#A66AEF

#A66AEF is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.8% C 0.195 H 302.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A66AEF
RGBrgb(166, 106, 239)
HSLhsl(267, 81%, 68%)
HSVhsv(267, 56%, 94%)
CMYKcmyk(30.5%, 55.6%, 0%, 6.3%)
CIE-LABlab(56.73, 49.79, -58.38)
CIE-LCHlch(56.73, 76.73, 310.46°)
OKLaboklab(64.8% 0.1034 -0.165)
OKLCHoklch(64.8% 0.195 302.1)
XYZxyz(36.4563, 24.6470, 84.4813)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AEF #B3EF6A
analogous
#6A70EF #A66AEF #E96AEF
triadic
#A66AEF #EFA66A #6AEFA6
tetradic
#A66AEF #EF6A70 #B3EF6A #6AEFE9
square
#A66AEF #EF6A70 #B3EF6A #6AEFE9
split-complementary
#A66AEF #EFE96A #70EF6A
monochromatic
#6716C9 #8533E9 #A66AEF #C7A1F5 #E8D9FB

Accessibility & contrast

On white

3.54
#A66AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A66AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AEF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AEF#FFFFFF#000000##000000
##A66AEF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#4988EC
Tritanopia (blue-blind)
#9884A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66aef;
/* rgb */ color: rgb(166, 106, 239);
/* oklch */ color: oklch(64.8% 0.195 302.1);
Tailwind
colors: {
  custom: {
    50: '#c497f5',
    500: '#a66aef',
    950: '#000000',
  },
}
SCSS
$custom: #a66aef;
$custom-light: #c497f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a66aef",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 267.068,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64799,
    "c": 0.19468,
    "h": 302.1
  },
  "luminance": 0.24647
}

Semantic roles & 50–950 ramp

primary
#A66AEF
secondary
#DCEFC6
accent
#DD097D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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