#A66BFE#A66BFE

#A66BFE is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.9% C 0.211 H 299.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A66BFE
RGBrgb(166, 107, 254)
HSLhsl(264, 99%, 71%)
HSVhsv(264, 58%, 100%)
CMYKcmyk(34.6%, 57.9%, 0%, 0.4%)
CIE-LABlab(57.83, 52.91, -64.94)
CIE-LCHlch(57.83, 83.77, 309.17°)
OKLaboklab(65.89% 0.1022 -0.1842)
OKLCHoklch(65.89% 0.211 299)
XYZxyz(38.8686, 25.7777, 96.6745)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BFE #C3FE6B
analogous
#6B79FE #A66BFE #F06BFE
triadic
#A66BFE #FEA66B #6BFEA6
tetradic
#A66BFE #FE6B79 #C3FE6B #6BFEF0
square
#A66BFE #FE6B79 #C3FE6B #6BFEF0
split-complementary
#A66BFE #FEF06B #79FE6B
monochromatic
#6002ED #812EFE #A66BFE #CBA8FE #EDE1FF

Accessibility & contrast

On white

3.41
#A66BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A66BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BFE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BFE#FFFFFF#000000##000000
##A66BFE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#198BFF
Deuteranopia (green-blind)
#398AFB
Tritanopia (blue-blind)
#938AAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66bfe;
/* rgb */ color: rgb(166, 107, 254);
/* oklch */ color: oklch(65.9% 0.211 299.0);
Tailwind
colors: {
  custom: {
    50: '#c598ff',
    500: '#a66bfe',
    950: '#000000',
  },
}
SCSS
$custom: #a66bfe;
$custom-light: #c598ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bfe",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 264.082,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.21068,
    "h": 299
  },
  "luminance": 0.25778
}

Semantic roles & 50–950 ramp

primary
#A66BFE
secondary
#E6F6CF
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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