#A66FC2#A66FC2

#A66FC2 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.134 H 313.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A66FC2
RGBrgb(166, 111, 194)
HSLhsl(280, 40%, 60%)
HSVhsv(280, 43%, 76%)
CMYKcmyk(14.4%, 42.8%, 0%, 23.9%)
CIE-LABlab(55.45, 36.73, -35.02)
CIE-LCHlch(55.45, 50.74, 316.37°)
OKLaboklab(63.09% 0.0921 -0.0969)
OKLCHoklch(63.09% 0.134 313.5)
XYZxyz(31.1463, 23.3716, 53.8989)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FC2 #8BC26F
analogous
#7D6FC2 #A66FC2 #C26FB5
triadic
#A66FC2 #C2A66F #6FC2A6
tetradic
#A66FC2 #C27D6F #8BC26F #6FB5C2
square
#A66FC2 #C27D6F #8BC26F #6FB5C2
split-complementary
#A66FC2 #B5C26F #6FC27D
monochromatic
#673680 #8A49AB #A66FC2 #C19AD4 #DBC5E6

Accessibility & contrast

On white

3.70
#A66FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A66FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FC2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FC2#FFFFFF#000000##000000
##A66FC21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#A47B8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a66fc2;
/* rgb */ color: rgb(166, 111, 194);
/* oklch */ color: oklch(63.1% 0.134 313.5);
Tailwind
colors: {
  custom: {
    50: '#c299d5',
    500: '#a66fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a66fc2;
$custom-light: #c299d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fc2",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 279.759,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.13371,
    "h": 313.5
  },
  "luminance": 0.23371
}

Semantic roles & 50–950 ramp

primary
#A66FC2
secondary
#C1D6B6
accent
#D05780
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A66FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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