#A668E4#A668E4

#A668E4 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.8% C 0.185 H 304.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A668E4
RGBrgb(166, 104, 228)
HSLhsl(270, 70%, 65%)
HSVhsv(270, 54%, 89%)
CMYKcmyk(27.2%, 54.4%, 0%, 10.6%)
CIE-LABlab(55.69, 48.25, -53.89)
CIE-LCHlch(55.69, 72.33, 311.84°)
OKLaboklab(63.83% 0.1055 -0.1518)
OKLCHoklch(63.83% 0.185 304.8)
XYZxyz(34.6768, 23.6092, 76.1139)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668E4 #A6E468
analogous
#6868E4 #A668E4 #E468E4
triadic
#A668E4 #E4A668 #68E4A6
tetradic
#A668E4 #E46868 #A6E468 #68E4E4
square
#A668E4 #E46868 #A6E468 #68E4E4
split-complementary
#A668E4 #E4E468 #68E468
monochromatic
#6920B2 #8734DB #A668E4 #C59CED #E3D0F7

Accessibility & contrast

On white

3.67
#A668E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A668E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668E4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668E4#FFFFFF#000000##000000
##A668E41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#5186E1
Tritanopia (blue-blind)
#9B7F9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a668e4;
/* rgb */ color: rgb(166, 104, 228);
/* oklch */ color: oklch(63.8% 0.185 304.8);
Tailwind
colors: {
  custom: {
    50: '#c495ed',
    500: '#a668e4',
    950: '#000000',
  },
}
SCSS
$custom: #a668e4;
$custom-light: #c495ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a668e4",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 270,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63835,
    "c": 0.18487,
    "h": 304.8
  },
  "luminance": 0.23609
}

Semantic roles & 50–950 ramp

primary
#A668E4
secondary
#D4E9BF
accent
#D21473
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A668E4

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

Preview Lab → · Contrast checker → · Palette generator →

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