#A666E7#A666E7

#A666E7 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.191 H 304.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A666E7
RGBrgb(166, 102, 231)
HSLhsl(270, 73%, 65%)
HSVhsv(270, 56%, 91%)
CMYKcmyk(28.1%, 55.8%, 0%, 9.4%)
CIE-LABlab(55.46, 50.01, -55.94)
CIE-LCHlch(55.46, 75.04, 311.80°)
OKLaboklab(63.72% 0.1081 -0.1578)
OKLCHoklch(63.72% 0.191 304.4)
XYZxyz(34.8979, 23.3794, 78.2600)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666E7 #A7E766
analogous
#6667E7 #A666E7 #E666E7
triadic
#A666E7 #E7A666 #66E7A6
tetradic
#A666E7 #E76667 #A7E766 #66E7E6
square
#A666E7 #E76667 #A7E766 #66E7E6
split-complementary
#A666E7 #E7E666 #67E766
monochromatic
#691DB6 #8731DF #A666E7 #C59BEF #E4D0F8

Accessibility & contrast

On white

3.70
#A666E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A666E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666E7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666E7#FFFFFF#000000##000000
##A666E71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#4C85E4
Tritanopia (blue-blind)
#9B7F9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a666e7;
/* rgb */ color: rgb(166, 102, 231);
/* oklch */ color: oklch(63.7% 0.191 304.4);
Tailwind
colors: {
  custom: {
    50: '#c494ef',
    500: '#a666e7',
    950: '#000000',
  },
}
SCSS
$custom: #a666e7;
$custom-light: #c494ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a666e7",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 269.767,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63718,
    "c": 0.19131,
    "h": 304.4
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#A666E7
secondary
#D5EABF
accent
#D51174
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666E7

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

Preview Lab → · Contrast checker → · Palette generator →

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