#A668D5#A668D5

#A668D5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.0% C 0.167 H 308.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A668D5
RGBrgb(166, 104, 213)
HSLhsl(274, 56%, 62%)
HSVhsv(274, 51%, 84%)
CMYKcmyk(22.1%, 51.2%, 0%, 16.5%)
CIE-LABlab(54.88, 44.79, -46.73)
CIE-LCHlch(54.88, 64.73, 313.78°)
OKLaboklab(62.97% 0.1045 -0.1309)
OKLCHoklch(62.97% 0.167 308.6)
XYZxyz(32.6841, 22.8122, 65.6193)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668D5 #97D568
analogous
#6F68D5 #A668D5 #D568CE
triadic
#A668D5 #D5A668 #68D5A6
tetradic
#A668D5 #D56F68 #97D568 #68CED5
square
#A668D5 #D56F68 #97D568 #68CED5
split-complementary
#A668D5 #CED568 #68D56F
monochromatic
#692A98 #8A38C8 #A668D5 #C298E2 #DEC8F0

Accessibility & contrast

On white

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

On black

5.56
#A668D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668D5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668D5#FFFFFF#000000##000000
##A668D51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981D9
Deuteranopia (green-blind)
#5C84D2
Tritanopia (blue-blind)
#A07B95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a668d5;
/* rgb */ color: rgb(166, 104, 213);
/* oklch */ color: oklch(63.0% 0.167 308.6);
Tailwind
colors: {
  custom: {
    50: '#c395e2',
    500: '#a668d5',
    950: '#000000',
  },
}
SCSS
$custom: #a668d5;
$custom-light: #c395e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a668d5",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 274.128,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62968,
    "c": 0.16749,
    "h": 308.6
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#A668D5
secondary
#CAE0B8
accent
#C42168
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A668D5

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

Preview Lab → · Contrast checker → · Palette generator →

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