#A66CD5#A66CD5

#A66CD5 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.161 H 308.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A66CD5
RGBrgb(166, 108, 213)
HSLhsl(273, 56%, 63%)
HSVhsv(273, 49%, 84%)
CMYKcmyk(22.1%, 49.3%, 0%, 16.5%)
CIE-LABlab(55.72, 42.62, -45.39)
CIE-LCHlch(55.72, 62.26, 313.19°)
OKLaboklab(63.59% 0.0991 -0.127)
OKLCHoklch(63.59% 0.161 308)
XYZxyz(33.0963, 23.6366, 65.7567)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CD5 #9BD56C
analogous
#716CD5 #A66CD5 #D56CCF
triadic
#A66CD5 #D5A66C #6CD5A6
tetradic
#A66CD5 #D5716C #9BD56C #6CCFD5
square
#A66CD5 #D5716C #9BD56C #6CCFD5
split-complementary
#A66CD5 #CFD56C #6CD571
monochromatic
#692C9A #893CC7 #A66CD5 #C39CE3 #E0CBF0

Accessibility & contrast

On white

3.67
#A66CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A66CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CD5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CD5#FFFFFF#000000##000000
##A66CD51.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D9
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#9F7E97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a66cd5;
/* rgb */ color: rgb(166, 108, 213);
/* oklch */ color: oklch(63.6% 0.161 308.0);
Tailwind
colors: {
  custom: {
    50: '#c398e2',
    500: '#a66cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a66cd5;
$custom-light: #c398e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cd5",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 273.143,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63594,
    "c": 0.16109,
    "h": 308
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

primary
#A66CD5
secondary
#CCE1BB
accent
#C3226A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A66CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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