#A668DC#A668DC

#A668DC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.4% C 0.176 H 306.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A668DC
RGBrgb(166, 104, 220)
HSLhsl(272, 62%, 64%)
HSVhsv(272, 53%, 86%)
CMYKcmyk(24.5%, 52.7%, 0%, 13.7%)
CIE-LABlab(55.25, 46.39, -50.09)
CIE-LCHlch(55.25, 68.27, 312.80°)
OKLaboklab(63.37% 0.1051 -0.1407)
OKLCHoklch(63.37% 0.176 306.8)
XYZxyz(33.5918, 23.1753, 70.3999)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668DC #9EDC68
analogous
#6C68DC #A668DC #DC68D8
triadic
#A668DC #DCA668 #68DCA6
tetradic
#A668DC #DC6C68 #9EDC68 #68D8DC
square
#A668DC #DC6C68 #9EDC68 #68D8DC
split-complementary
#A668DC #D8DC68 #68DC6C
monochromatic
#6926A4 #8936D0 #A668DC #C39AE8 #E1CBF3

Accessibility & contrast

On white

3.73
#A668DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A668DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668DC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668DC#FFFFFF#000000##000000
##A668DC1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#9E7D98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a668dc;
/* rgb */ color: rgb(166, 104, 220);
/* oklch */ color: oklch(63.4% 0.176 306.8);
Tailwind
colors: {
  custom: {
    50: '#c395e7',
    500: '#a668dc',
    950: '#000000',
  },
}
SCSS
$custom: #a668dc;
$custom-light: #c395e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a668dc",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 272.069,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.1756,
    "h": 306.8
  },
  "luminance": 0.23175
}

Semantic roles & 50–950 ramp

primary
#A668DC
secondary
#CEE4BB
accent
#CA1B6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A668DC

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

Preview Lab → · Contrast checker → · Palette generator →

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