#A668EB#A668EB

#A668EB is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.3% C 0.193 H 303.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A668EB
RGBrgb(166, 104, 235)
HSLhsl(268, 77%, 66%)
HSVhsv(268, 56%, 92%)
CMYKcmyk(29.4%, 55.7%, 0%, 7.8%)
CIE-LABlab(56.09, 49.90, -57.17)
CIE-LCHlch(56.09, 75.88, 311.12°)
OKLaboklab(64.26% 0.1057 -0.1614)
OKLCHoklch(64.26% 0.193 303.2)
XYZxyz(35.6682, 24.0058, 81.3356)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668EB #ADEB68
analogous
#686CEB #A668EB #E868EB
triadic
#A668EB #EBA668 #68EBA6
tetradic
#A668EB #EB686C #ADEB68 #68EBE8
square
#A668EB #EB686C #ADEB68 #68EBE8
split-complementary
#A668EB #EBE868 #6CEB68
monochromatic
#6819BF #8632E4 #A668EB #C69EF2 #E6D4F9

Accessibility & contrast

On white

3.62
#A668EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A668EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668EB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668EB#FFFFFF#000000##000000
##A668EB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#9982A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a668eb;
/* rgb */ color: rgb(166, 104, 235);
/* oklch */ color: oklch(64.3% 0.193 303.2);
Tailwind
colors: {
  custom: {
    50: '#c495f2',
    500: '#a668eb',
    950: '#000000',
  },
}
SCSS
$custom: #a668eb;
$custom-light: #c495f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a668eb",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 268.397,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.19296,
    "h": 303.2
  },
  "luminance": 0.24006
}

Semantic roles & 50–950 ramp

primary
#A668EB
secondary
#D9EDC2
accent
#D90D78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A668EB

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

Preview Lab → · Contrast checker → · Palette generator →

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