#A66CD7#A66CD7

#A66CD7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.163 H 307.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A66CD7
RGBrgb(166, 108, 215)
HSLhsl(273, 57%, 63%)
HSVhsv(273, 50%, 84%)
CMYKcmyk(22.8%, 49.8%, 0%, 15.7%)
CIE-LABlab(55.83, 43.07, -46.36)
CIE-LCHlch(55.83, 63.28, 312.89°)
OKLaboklab(63.7% 0.0993 -0.1298)
OKLCHoklch(63.7% 0.163 307.4)
XYZxyz(33.3517, 23.7388, 67.1019)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CD7 #9DD76C
analogous
#706CD7 #A66CD7 #D76CD3
triadic
#A66CD7 #D7A66C #6CD7A6
tetradic
#A66CD7 #D7706C #9DD76C #6CD3D7
square
#A66CD7 #D7706C #9DD76C #6CD3D7
split-complementary
#A66CD7 #D3D76C #6CD770
monochromatic
#692B9E #893CCA #A66CD7 #C39CE4 #E0CCF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A66CD7#FFFFFF#000000##000000
##A66CD71.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)
#4E84DB
Deuteranopia (green-blind)
#5F86D4
Tritanopia (blue-blind)
#9F7E98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a66cd7;
/* rgb */ color: rgb(166, 108, 215);
/* oklch */ color: oklch(63.7% 0.163 307.4);
Tailwind
colors: {
  custom: {
    50: '#c398e4',
    500: '#a66cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a66cd7;
$custom-light: #c398e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cd7",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 272.523,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63704,
    "c": 0.16345,
    "h": 307.4
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#A66CD7
secondary
#CEE2BC
accent
#C5216C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E15
muted
#827E84

Preview Lab

Preview with #A66CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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