#A66BC7#A66BC7

#A66BC7 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.7% C 0.146 H 312.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A66BC7
RGBrgb(166, 107, 199)
HSLhsl(278, 45%, 60%)
HSVhsv(278, 46%, 78%)
CMYKcmyk(16.6%, 46.2%, 0%, 22%)
CIE-LABlab(54.81, 40.03, -38.88)
CIE-LCHlch(54.81, 55.80, 315.83°)
OKLaboklab(62.69% 0.0987 -0.1081)
OKLCHoklch(62.69% 0.146 312.4)
XYZxyz(31.2906, 22.7466, 56.7639)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BC7 #8CC76B
analogous
#786BC7 #A66BC7 #C76BBA
triadic
#A66BC7 #C7A66B #6BC7A6
tetradic
#A66BC7 #C7786B #8CC76B #6BBAC7
square
#A66BC7 #C7786B #8CC76B #6BBAC7
split-complementary
#A66BC7 #BAC76B #6BC778
monochromatic
#673285 #8A43B2 #A66BC7 #C197D8 #DBC4E9

Accessibility & contrast

On white

3.78
#A66BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A66BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BC7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BC7#FFFFFF#000000##000000
##A66BC71.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#6785C4
Tritanopia (blue-blind)
#A37990
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a66bc7;
/* rgb */ color: rgb(166, 107, 199);
/* oklch */ color: oklch(62.7% 0.146 312.4);
Tailwind
colors: {
  custom: {
    50: '#c297d8',
    500: '#a66bc7',
    950: '#000000',
  },
}
SCSS
$custom: #a66bc7;
$custom-light: #c297d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bc7",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 278.478,
    "s": 45.098,
    "l": 60
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.14635,
    "h": 312.4
  },
  "luminance": 0.22746
}

Semantic roles & 50–950 ramp

primary
#A66BC7
secondary
#C2D9B5
accent
#D55382
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #A66BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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