#A66ECF#A66ECF

#A66ECF is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.151 H 309.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A66ECF
RGBrgb(166, 110, 207)
HSLhsl(275, 50%, 62%)
HSVhsv(275, 47%, 81%)
CMYKcmyk(19.8%, 46.9%, 0%, 18.8%)
CIE-LABlab(55.85, 40.16, -41.79)
CIE-LCHlch(55.85, 57.96, 313.86°)
OKLaboklab(63.59% 0.0956 -0.1165)
OKLCHoklch(63.59% 0.151 309.4)
XYZxyz(32.5622, 23.7643, 61.8910)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66ECF #97CF6E
analogous
#766ECF #A66ECF #CF6EC8
triadic
#A66ECF #CFA66E #6ECFA6
tetradic
#A66ECF #CF766E #97CF6E #6EC8CF
square
#A66ECF #CF766E #97CF6E #6EC8CF
split-complementary
#A66ECF #C8CF6E #6ECF76
monochromatic
#693092 #8A40C0 #A66ECF #C29CDE #DECAED

Accessibility & contrast

On white

3.65
#A66ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A66ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66ECF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66ECF#FFFFFF#000000##000000
##A66ECF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D2
Deuteranopia (green-blind)
#6687CC
Tritanopia (blue-blind)
#A17E95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a66ecf;
/* rgb */ color: rgb(166, 110, 207);
/* oklch */ color: oklch(63.6% 0.151 309.4);
Tailwind
colors: {
  custom: {
    50: '#c299de',
    500: '#a66ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a66ecf;
$custom-light: #c299de;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ecf",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 274.639,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.15073,
    "h": 309.4
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#A66ECF
secondary
#CADEBB
accent
#BE2867
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A66ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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