#A66DF7#A66DF7

#A66DF7 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.200 H 300.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A66DF7
RGBrgb(166, 109, 247)
HSLhsl(265, 90%, 70%)
HSVhsv(265, 56%, 97%)
CMYKcmyk(32.8%, 55.9%, 0%, 3.1%)
CIE-LABlab(57.81, 50.14, -61.10)
CIE-LCHlch(57.81, 79.04, 309.37°)
OKLaboklab(65.74% 0.0998 -0.1729)
OKLCHoklch(65.74% 0.2 300)
XYZxyz(37.9790, 25.7594, 90.9488)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DF7 #BEF76D
analogous
#6D79F7 #A66DF7 #EB6DF7
triadic
#A66DF7 #F7A66D #6DF7A6
tetradic
#A66DF7 #F76D79 #BEF76D #6DF7EB
square
#A66DF7 #F76D79 #BEF76D #6DF7EB
split-complementary
#A66DF7 #F7EB6D #79F76D
monochromatic
#630CDD #8333F4 #A66DF7 #C9A7FA #EDE1FD

Accessibility & contrast

On white

3.41
#A66DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A66DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DF7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DF7#FFFFFF#000000##000000
##A66DF71.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8BFC
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#9589A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66df7;
/* rgb */ color: rgb(166, 109, 247);
/* oklch */ color: oklch(65.7% 0.200 300.0);
Tailwind
colors: {
  custom: {
    50: '#c599fa',
    500: '#a66df7',
    950: '#000000',
  },
}
SCSS
$custom: #a66df7;
$custom-light: #c599fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a66df7",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 264.783,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65742,
    "c": 0.1997,
    "h": 300
  },
  "luminance": 0.2576
}

Semantic roles & 50–950 ramp

primary
#A66DF7
secondary
#E3F3CC
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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