#A668E5#A668E5

#A668E5 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.186 H 304.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A668E5
RGBrgb(166, 104, 229)
HSLhsl(270, 71%, 65%)
HSVhsv(270, 55%, 90%)
CMYKcmyk(27.5%, 54.6%, 0%, 10.2%)
CIE-LABlab(55.75, 48.48, -54.36)
CIE-LCHlch(55.75, 72.84, 311.73°)
OKLaboklab(63.89% 0.1056 -0.1532)
OKLCHoklch(63.89% 0.186 304.6)
XYZxyz(34.8160, 23.6649, 76.8472)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668E5 #A7E568
analogous
#6868E5 #A668E5 #E468E5
triadic
#A668E5 #E5A668 #68E5A6
tetradic
#A668E5 #E56868 #A7E568 #68E5E4
square
#A668E5 #E56868 #A7E568 #68E5E4
split-complementary
#A668E5 #E5E468 #68E568
monochromatic
#691FB4 #8734DC #A668E5 #C59CEE #E4D0F7

Accessibility & contrast

On white

3.66
#A668E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A668E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668E5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668E5#FFFFFF#000000##000000
##A668E51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#5086E2
Tritanopia (blue-blind)
#9B809D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a668e5;
/* rgb */ color: rgb(166, 104, 229);
/* oklch */ color: oklch(63.9% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#c495ee',
    500: '#a668e5',
    950: '#000000',
  },
}
SCSS
$custom: #a668e5;
$custom-light: #c495ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a668e5",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 269.76,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.18602,
    "h": 304.6
  },
  "luminance": 0.23665
}

Semantic roles & 50–950 ramp

primary
#A668E5
secondary
#D5E9BF
accent
#D31374
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A668E5

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

Preview Lab → · Contrast checker → · Palette generator →

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