#A668C7#A668C7

#A668C7 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.2% C 0.151 H 312.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A668C7
RGBrgb(166, 104, 199)
HSLhsl(279, 46%, 59%)
HSVhsv(279, 48%, 78%)
CMYKcmyk(16.6%, 47.7%, 0%, 22%)
CIE-LABlab(54.17, 41.67, -39.89)
CIE-LCHlch(54.17, 57.69, 316.25°)
OKLaboklab(62.21% 0.1029 -0.111)
OKLCHoklch(62.21% 0.151 312.8)
XYZxyz(30.9833, 22.1318, 56.6615)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668C7 #89C768
analogous
#7768C7 #A668C7 #C768B9
triadic
#A668C7 #C7A668 #68C7A6
tetradic
#A668C7 #C77768 #89C768 #68B9C7
square
#A668C7 #C77768 #89C768 #68B9C7
split-complementary
#A668C7 #B9C768 #68C777
monochromatic
#673184 #8A41B0 #A668C7 #C095D8 #DBC1E8

Accessibility & contrast

On white

3.87
#A668C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A668C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668C7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668C7#FFFFFF#000000##000000
##A668C71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#A3778E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a668c7;
/* rgb */ color: rgb(166, 104, 199);
/* oklch */ color: oklch(62.2% 0.151 312.8);
Tailwind
colors: {
  custom: {
    50: '#c295d8',
    500: '#a668c7',
    950: '#000000',
  },
}
SCSS
$custom: #a668c7;
$custom-light: #c295d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a668c7",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 199
  },
  "hsl": {
    "h": 279.158,
    "s": 45.894,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62208,
    "c": 0.15139,
    "h": 312.8
  },
  "luminance": 0.22131
}

Semantic roles & 50–950 ramp

primary
#A668C7
secondary
#C0D8B3
accent
#D65280
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #A668C7

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

Preview Lab → · Contrast checker → · Palette generator →

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