#A66CEF#A66CEF

#A66CEF is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.192 H 301.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A66CEF
RGBrgb(166, 108, 239)
HSLhsl(267, 80%, 68%)
HSVhsv(267, 55%, 94%)
CMYKcmyk(30.5%, 54.8%, 0%, 6.3%)
CIE-LABlab(57.14, 48.73, -57.73)
CIE-LCHlch(57.14, 75.55, 310.17°)
OKLaboklab(65.1% 0.1009 -0.1631)
OKLCHoklch(65.1% 0.192 301.7)
XYZxyz(36.6648, 25.0640, 84.5508)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CEF #B5EF6C
analogous
#6C73EF #A66CEF #E86CEF
triadic
#A66CEF #EFA66C #6CEFA6
tetradic
#A66CEF #EF6C73 #B5EF6C #6CEFE8
square
#A66CEF #EF6C73 #B5EF6C #6CEFE8
split-complementary
#A66CEF #EFE86C #73EF6C
monochromatic
#6616CB #8535E9 #A66CEF #C7A3F5 #E9DAFB

Accessibility & contrast

On white

3.49
#A66CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A66CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CEF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CEF#FFFFFF#000000##000000
##A66CEF1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#9886A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66cef;
/* rgb */ color: rgb(166, 108, 239);
/* oklch */ color: oklch(65.1% 0.192 301.7);
Tailwind
colors: {
  custom: {
    50: '#c498f5',
    500: '#a66cef',
    950: '#000000',
  },
}
SCSS
$custom: #a66cef;
$custom-light: #c498f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cef",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 266.565,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65099,
    "c": 0.19175,
    "h": 301.7
  },
  "luminance": 0.25064
}

Semantic roles & 50–950 ramp

primary
#A66CEF
secondary
#DEEFC7
accent
#DD097F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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