#A66BF2#A66BF2

#A66BF2 is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.1% C 0.197 H 301.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A66BF2
RGBrgb(166, 107, 242)
HSLhsl(266, 84%, 68%)
HSVhsv(266, 56%, 95%)
CMYKcmyk(31.4%, 55.8%, 0%, 5.1%)
CIE-LABlab(57.11, 49.99, -59.45)
CIE-LCHlch(57.11, 77.67, 310.06°)
OKLaboklab(65.13% 0.1022 -0.1681)
OKLCHoklch(65.13% 0.197 301.3)
XYZxyz(37.0068, 25.0330, 86.8694)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BF2 #B7F26B
analogous
#6B73F2 #A66BF2 #E96BF2
triadic
#A66BF2 #F2A66B #6BF2A6
tetradic
#A66BF2 #F26B73 #B7F26B #6BF2E9
square
#A66BF2 #F26B73 #B7F26B #6BF2E9
split-complementary
#A66BF2 #F2E96B #73F26B
monochromatic
#6512D0 #8433ED #A66BF2 #C8A3F7 #EADCFC

Accessibility & contrast

On white

3.50
#A66BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A66BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BF2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BF2#FFFFFF#000000##000000
##A66BF21.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#4888EF
Tritanopia (blue-blind)
#9786A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66bf2;
/* rgb */ color: rgb(166, 107, 242);
/* oklch */ color: oklch(65.1% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#c497f7',
    500: '#a66bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a66bf2;
$custom-light: #c497f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bf2",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 266.222,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65133,
    "c": 0.19672,
    "h": 301.3
  },
  "luminance": 0.25033
}

Semantic roles & 50–950 ramp

primary
#A66BF2
secondary
#DFF1C8
accent
#E00581
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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