#A66BD5#A66BD5

#A66BD5 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.163 H 308.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A66BD5
RGBrgb(166, 107, 213)
HSLhsl(273, 56%, 63%)
HSVhsv(273, 50%, 84%)
CMYKcmyk(22.1%, 49.8%, 0%, 16.5%)
CIE-LABlab(55.51, 43.16, -45.73)
CIE-LCHlch(55.51, 62.88, 313.34°)
OKLaboklab(63.44% 0.1005 -0.128)
OKLCHoklch(63.44% 0.163 308.1)
XYZxyz(32.9915, 23.4269, 65.7217)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BD5 #9AD56B
analogous
#716BD5 #A66BD5 #D56BCF
triadic
#A66BD5 #D5A66B #6BD5A6
tetradic
#A66BD5 #D5716B #9AD56B #6BCFD5
square
#A66BD5 #D5716B #9AD56B #6BCFD5
split-complementary
#A66BD5 #CFD56B #6BD571
monochromatic
#692C9A #893BC7 #A66BD5 #C39BE3 #DFCAF0

Accessibility & contrast

On white

3.69
#A66BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A66BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BD5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BD5#FFFFFF#000000##000000
##A66BD51.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83D9
Deuteranopia (green-blind)
#5F86D2
Tritanopia (blue-blind)
#9F7D96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a66bd5;
/* rgb */ color: rgb(166, 107, 213);
/* oklch */ color: oklch(63.4% 0.163 308.1);
Tailwind
colors: {
  custom: {
    50: '#c397e2',
    500: '#a66bd5',
    950: '#000000',
  },
}
SCSS
$custom: #a66bd5;
$custom-light: #c397e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bd5",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 213
  },
  "hsl": {
    "h": 273.396,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63436,
    "c": 0.1627,
    "h": 308.1
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A66BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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