#A66EFE#A66EFE

#A66EFE is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.3% C 0.206 H 298.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A66EFE
RGBrgb(166, 110, 254)
HSLhsl(263, 99%, 71%)
HSVhsv(263, 57%, 100%)
CMYKcmyk(34.6%, 56.7%, 0%, 0.4%)
CIE-LABlab(58.43, 51.33, -63.97)
CIE-LCHlch(58.43, 82.02, 308.74°)
OKLaboklab(66.33% 0.0987 -0.1814)
OKLCHoklch(66.33% 0.207 298.5)
XYZxyz(39.1868, 26.4142, 96.7806)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EFE #C6FE6E
analogous
#6E7EFE #A66EFE #EE6EFE
triadic
#A66EFE #FEA66E #6EFEA6
tetradic
#A66EFE #FE6E7E #C6FE6E #6EFEEE
square
#A66EFE #FE6E7E #C6FE6E #6EFEEE
split-complementary
#A66EFE #FEEE6E #7EFE6E
monochromatic
#5E02F0 #8131FE #A66EFE #CBABFE #ECE1FF

Accessibility & contrast

On white

3.34
#A66EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A66EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EFE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EFE#FFFFFF#000000##000000
##A66EFE1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#268DFF
Deuteranopia (green-blind)
#3E8BFB
Tritanopia (blue-blind)
#938CAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a66efe;
/* rgb */ color: rgb(166, 110, 254);
/* oklch */ color: oklch(66.3% 0.206 298.5);
Tailwind
colors: {
  custom: {
    50: '#c599ff',
    500: '#a66efe',
    950: '#000000',
  },
}
SCSS
$custom: #a66efe;
$custom-light: #c599ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a66efe",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 263.333,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66331,
    "c": 0.2065,
    "h": 298.5
  },
  "luminance": 0.26415
}

Semantic roles & 50–950 ramp

primary
#A66EFE
secondary
#E8F7D1
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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