#A66BF3#A66BF3

#A66BF3 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.198 H 301.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A66BF3
RGBrgb(166, 107, 243)
HSLhsl(266, 85%, 69%)
HSVhsv(266, 56%, 95%)
CMYKcmyk(31.7%, 56%, 0%, 4.7%)
CIE-LABlab(57.17, 50.23, -59.91)
CIE-LCHlch(57.17, 78.18, 309.98°)
OKLaboklab(65.2% 0.1022 -0.1694)
OKLCHoklch(65.2% 0.198 301.1)
XYZxyz(37.1574, 25.0933, 87.6625)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BF3 #B8F36B
analogous
#6B74F3 #A66BF3 #EA6BF3
triadic
#A66BF3 #F3A66B #6BF3A6
tetradic
#A66BF3 #F36B74 #B8F36B #6BF3EA
square
#A66BF3 #F36B74 #B8F36B #6BF3EA
split-complementary
#A66BF3 #F3EA6B #74F36B
monochromatic
#6511D3 #8432EE #A66BF3 #C8A4F8 #EADCFC

Accessibility & contrast

On white

3.49
#A66BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A66BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BF3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BF3#FFFFFF#000000##000000
##A66BF31.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F7
Deuteranopia (green-blind)
#4788F0
Tritanopia (blue-blind)
#9786A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66bf3;
/* rgb */ color: rgb(166, 107, 243);
/* oklch */ color: oklch(65.2% 0.198 301.1);
Tailwind
colors: {
  custom: {
    50: '#c497f8',
    500: '#a66bf3',
    950: '#000000',
  },
}
SCSS
$custom: #a66bf3;
$custom-light: #c497f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bf3",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 266.029,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.19789,
    "h": 301.1
  },
  "luminance": 0.25093
}

Semantic roles & 50–950 ramp

primary
#A66BF3
secondary
#E0F1C9
accent
#E10481
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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