#A66CDB#A66CDB

#A66CDB is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.9% C 0.168 H 306.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A66CDB
RGBrgb(166, 108, 219)
HSLhsl(271, 61%, 64%)
HSVhsv(271, 51%, 86%)
CMYKcmyk(24.2%, 50.7%, 0%, 14.1%)
CIE-LABlab(56.03, 44.00, -48.29)
CIE-LCHlch(56.03, 65.32, 312.34°)
OKLaboklab(63.93% 0.0997 -0.1354)
OKLCHoklch(63.93% 0.168 306.4)
XYZxyz(33.8720, 23.9469, 69.8419)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CDB #A1DB6C
analogous
#6F6CDB #A66CDB #DB6CD9
triadic
#A66CDB #DBA66C #6CDBA6
tetradic
#A66CDB #DB6F6C #A1DB6C #6CD9DB
square
#A66CDB #DB6F6C #A1DB6C #6CD9DB
split-complementary
#A66CDB #D9DB6C #6CDB6F
monochromatic
#6928A4 #883BCF #A66CDB #C49DE7 #E2CEF3

Accessibility & contrast

On white

3.63
#A66CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A66CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CDB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CDB#FFFFFF#000000##000000
##A66CDB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#5C87D8
Tritanopia (blue-blind)
#9E8099
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a66cdb;
/* rgb */ color: rgb(166, 108, 219);
/* oklch */ color: oklch(63.9% 0.168 306.4);
Tailwind
colors: {
  custom: {
    50: '#c398e7',
    500: '#a66cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a66cdb;
$custom-light: #c398e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cdb",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 271.351,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.16817,
    "h": 306.4
  },
  "luminance": 0.23947
}

Semantic roles & 50–950 ramp

primary
#A66CDB
secondary
#D1E5BE
accent
#C81D6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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