#A66EF7#A66EF7

#A66EF7 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.198 H 299.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A66EF7
RGBrgb(166, 110, 247)
HSLhsl(265, 90%, 70%)
HSVhsv(265, 55%, 97%)
CMYKcmyk(32.8%, 55.5%, 0%, 3.1%)
CIE-LABlab(58.01, 49.60, -60.77)
CIE-LCHlch(58.01, 78.44, 309.22°)
OKLaboklab(65.89% 0.0986 -0.172)
OKLCHoklch(65.89% 0.198 299.8)
XYZxyz(38.0863, 25.9740, 90.9846)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EF7 #BFF76E
analogous
#6E7AF7 #A66EF7 #EB6EF7
triadic
#A66EF7 #F7A66E #6EF7A6
tetradic
#A66EF7 #F76E7A #BFF76E #6EF7EB
square
#A66EF7 #F76E7A #BFF76E #6EF7EB
split-complementary
#A66EF7 #F7EB6E #7AF76E
monochromatic
#620CDE #8234F4 #A66EF7 #CAA8FA #EDE2FD

Accessibility & contrast

On white

3.39
#A66EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A66EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EF7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EF7#FFFFFF#000000##000000
##A66EF71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#478AF4
Tritanopia (blue-blind)
#958AA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66ef7;
/* rgb */ color: rgb(166, 110, 247);
/* oklch */ color: oklch(65.9% 0.198 299.8);
Tailwind
colors: {
  custom: {
    50: '#c499fa',
    500: '#a66ef7',
    950: '#000000',
  },
}
SCSS
$custom: #a66ef7;
$custom-light: #c499fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ef7",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 264.526,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.65892,
    "c": 0.19826,
    "h": 299.8
  },
  "luminance": 0.25974
}

Semantic roles & 50–950 ramp

primary
#A66EF7
secondary
#E4F4CD
accent
#E60088
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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