#A668D4#A668D4

#A668D4 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.166 H 308.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A668D4
RGBrgb(166, 104, 212)
HSLhsl(274, 56%, 62%)
HSVhsv(274, 51%, 83%)
CMYKcmyk(21.7%, 50.9%, 0%, 16.9%)
CIE-LABlab(54.83, 44.56, -46.25)
CIE-LCHlch(54.83, 64.22, 313.94°)
OKLaboklab(62.91% 0.1044 -0.1295)
OKLCHoklch(62.91% 0.166 308.9)
XYZxyz(32.5576, 22.7616, 64.9529)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668D4 #96D468
analogous
#7068D4 #A668D4 #D468CC
triadic
#A668D4 #D4A668 #68D4A6
tetradic
#A668D4 #D47068 #96D468 #68CCD4
square
#A668D4 #D47068 #96D468 #68CCD4
split-complementary
#A668D4 #CCD468 #68D470
monochromatic
#692B97 #8A38C6 #A668D4 #C298E2 #DEC7EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A668D4#FFFFFF#000000##000000
##A668D41.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)
#4A81D8
Deuteranopia (green-blind)
#5D84D1
Tritanopia (blue-blind)
#A07A94
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a668d4;
/* rgb */ color: rgb(166, 104, 212);
/* oklch */ color: oklch(62.9% 0.166 308.9);
Tailwind
colors: {
  custom: {
    50: '#c395e2',
    500: '#a668d4',
    950: '#000000',
  },
}
SCSS
$custom: #a668d4;
$custom-light: #c395e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a668d4",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 212
  },
  "hsl": {
    "h": 274.444,
    "s": 55.67,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62912,
    "c": 0.16634,
    "h": 308.9
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#A668D4
secondary
#C9E0B8
accent
#C32267
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A668D4

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

Preview Lab → · Contrast checker → · Palette generator →

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