#A66BF5#A66BF5

#A66BF5 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.3% C 0.200 H 300.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A66BF5
RGBrgb(166, 107, 245)
HSLhsl(266, 87%, 69%)
HSVhsv(266, 56%, 96%)
CMYKcmyk(32.2%, 56.3%, 0%, 3.9%)
CIE-LABlab(57.28, 50.71, -60.83)
CIE-LCHlch(57.28, 79.20, 309.82°)
OKLaboklab(65.32% 0.1022 -0.1722)
OKLCHoklch(65.32% 0.2 300.7)
XYZxyz(37.4611, 25.2147, 89.2618)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BF5 #BAF56B
analogous
#6B75F5 #A66BF5 #EB6BF5
triadic
#A66BF5 #F5A66B #6BF5A6
tetradic
#A66BF5 #F56B75 #BAF56B #6BF5EB
square
#A66BF5 #F56B75 #BAF56B #6BF5EB
split-complementary
#A66BF5 #F5EB6B #75F56B
monochromatic
#640FD7 #8432F1 #A66BF5 #C8A4F9 #EBDEFD

Accessibility & contrast

On white

3.48
#A66BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A66BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BF5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BF5#FFFFFF#000000##000000
##A66BF51.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FA
Deuteranopia (green-blind)
#4489F2
Tritanopia (blue-blind)
#9687A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66bf5;
/* rgb */ color: rgb(166, 107, 245);
/* oklch */ color: oklch(65.3% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#c497f9',
    500: '#a66bf5',
    950: '#000000',
  },
}
SCSS
$custom: #a66bf5;
$custom-light: #c497f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bf5",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 265.652,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65319,
    "c": 0.20022,
    "h": 300.7
  },
  "luminance": 0.25215
}

Semantic roles & 50–950 ramp

primary
#A66BF5
secondary
#E1F2CA
accent
#E40283
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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