#A66FD5#A66FD5

#A66FD5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.156 H 307.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A66FD5
RGBrgb(166, 111, 213)
HSLhsl(272, 55%, 64%)
HSVhsv(272, 48%, 84%)
CMYKcmyk(22.1%, 47.9%, 0%, 16.5%)
CIE-LABlab(56.37, 40.97, -44.37)
CIE-LCHlch(56.37, 60.40, 312.72°)
OKLaboklab(64.07% 0.095 -0.124)
OKLCHoklch(64.07% 0.156 307.4)
XYZxyz(33.4182, 24.2803, 65.8640)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FD5 #9ED56F
analogous
#736FD5 #A66FD5 #D56FD1
triadic
#A66FD5 #D5A66F #6FD5A6
tetradic
#A66FD5 #D5736F #9ED56F #6FD1D5
square
#A66FD5 #D5736F #9ED56F #6FD1D5
split-complementary
#A66FD5 #D1D56F #6FD573
monochromatic
#692E9C #8940C7 #A66FD5 #C39EE3 #E1CEF1

Accessibility & contrast

On white

3.59
#A66FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A66FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FD5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FD5#FFFFFF#000000##000000
##A66FD51.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D9
Deuteranopia (green-blind)
#6388D2
Tritanopia (blue-blind)
#9F8098
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66fd5;
/* rgb */ color: rgb(166, 111, 213);
/* oklch */ color: oklch(64.1% 0.156 307.4);
Tailwind
colors: {
  custom: {
    50: '#c29ae2',
    500: '#a66fd5',
    950: '#000000',
  },
}
SCSS
$custom: #a66fd5;
$custom-light: #c29ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fd5",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 272.353,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64074,
    "c": 0.15624,
    "h": 307.4
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#A66FD5
secondary
#CEE2BE
accent
#C2236D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A66FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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