#A66CDD#A66CDD

#A66CDD is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.171 H 305.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A66CDD
RGBrgb(166, 108, 221)
HSLhsl(271, 62%, 65%)
HSVhsv(271, 51%, 87%)
CMYKcmyk(24.9%, 51.1%, 0%, 13.3%)
CIE-LABlab(56.14, 44.46, -49.24)
CIE-LCHlch(56.14, 66.35, 312.08°)
OKLaboklab(64.04% 0.0999 -0.1382)
OKLCHoklch(64.04% 0.171 305.8)
XYZxyz(34.1369, 24.0528, 71.2369)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CDD #A3DD6C
analogous
#6D6CDD #A66CDD #DD6CDC
triadic
#A66CDD #DDA66C #6CDDA6
tetradic
#A66CDD #DD6D6C #A3DD6C #6CDCDD
square
#A66CDD #DD6D6C #A3DD6C #6CDCDD
split-complementary
#A66CDD #DCDD6C #6CDD6D
monochromatic
#6927A8 #883AD2 #A66CDD #C49EE8 #E2CFF4

Accessibility & contrast

On white

3.61
#A66CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A66CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CDD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CDD#FFFFFF#000000##000000
##A66CDD1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#9D809A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66cdd;
/* rgb */ color: rgb(166, 108, 221);
/* oklch */ color: oklch(64.0% 0.171 305.8);
Tailwind
colors: {
  custom: {
    50: '#c398e8',
    500: '#a66cdd',
    950: '#000000',
  },
}
SCSS
$custom: #a66cdd;
$custom-light: #c398e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cdd",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 270.796,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6404,
    "c": 0.17053,
    "h": 305.8
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#A66CDD
secondary
#D2E6BF
accent
#CA1B70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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