#A66EF2#A66EF2

#A66EF2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.192 H 300.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A66EF2
RGBrgb(166, 110, 242)
HSLhsl(265, 84%, 69%)
HSVhsv(265, 55%, 95%)
CMYKcmyk(31.4%, 54.5%, 0%, 5.1%)
CIE-LABlab(57.72, 48.38, -58.46)
CIE-LCHlch(57.72, 75.89, 309.61°)
OKLaboklab(65.59% 0.0985 -0.1652)
OKLCHoklch(65.59% 0.192 300.8)
XYZxyz(37.3251, 25.6695, 86.9755)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EF2 #BAF26E
analogous
#6E78F2 #A66EF2 #E86EF2
triadic
#A66EF2 #F2A66E #6EF2A6
tetradic
#A66EF2 #F26E78 #BAF26E #6EF2E8
square
#A66EF2 #F26E78 #BAF26E #6EF2E8
split-complementary
#A66EF2 #F2E86E #78F26E
monochromatic
#6413D3 #8436ED #A66EF2 #C8A6F7 #EBDEFC

Accessibility & contrast

On white

3.42
#A66EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A66EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EF2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EF2#FFFFFF#000000##000000
##A66EF21.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#9788A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66ef2;
/* rgb */ color: rgb(166, 110, 242);
/* oklch */ color: oklch(65.6% 0.192 300.8);
Tailwind
colors: {
  custom: {
    50: '#c499f7',
    500: '#a66ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a66ef2;
$custom-light: #c499f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ef2",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 265.455,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.19235,
    "h": 300.8
  },
  "luminance": 0.2567
}

Semantic roles & 50–950 ramp

primary
#A66EF2
secondary
#E1F1CB
accent
#E00683
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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