#A66BEF#A66BEF

#A66BEF is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.193 H 301.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A66BEF
RGBrgb(166, 107, 239)
HSLhsl(267, 80%, 68%)
HSVhsv(267, 55%, 94%)
CMYKcmyk(30.5%, 55.2%, 0%, 6.3%)
CIE-LABlab(56.93, 49.26, -58.06)
CIE-LCHlch(56.93, 76.14, 310.31°)
OKLaboklab(64.95% 0.1021 -0.164)
OKLCHoklch(64.95% 0.193 301.9)
XYZxyz(36.5600, 24.8543, 84.5159)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BEF #B4EF6B
analogous
#6B72EF #A66BEF #E86BEF
triadic
#A66BEF #EFA66B #6BEFA6
tetradic
#A66BEF #EF6B72 #B4EF6B #6BEFE8
square
#A66BEF #EF6B72 #B4EF6B #6BEFE8
split-complementary
#A66BEF #EFE86B #72EF6B
monochromatic
#6616CA #8534E9 #A66BEF #C7A2F5 #E8D9FB

Accessibility & contrast

On white

3.52
#A66BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#A66BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BEF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BEF#FFFFFF#000000##000000
##A66BEF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#4B88EC
Tritanopia (blue-blind)
#9885A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66bef;
/* rgb */ color: rgb(166, 107, 239);
/* oklch */ color: oklch(64.9% 0.193 301.9);
Tailwind
colors: {
  custom: {
    50: '#c497f5',
    500: '#a66bef',
    950: '#000000',
  },
}
SCSS
$custom: #a66bef;
$custom-light: #c497f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bef",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 266.818,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.19321,
    "h": 301.9
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#A66BEF
secondary
#DDEFC7
accent
#DD097E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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