#A66BF8#A66BF8

#A66BF8 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.5% C 0.204 H 300.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A66BF8
RGBrgb(166, 107, 248)
HSLhsl(265, 91%, 70%)
HSVhsv(265, 57%, 97%)
CMYKcmyk(33.1%, 56.9%, 0%, 2.7%)
CIE-LABlab(57.46, 51.44, -62.21)
CIE-LCHlch(57.46, 80.72, 309.59°)
OKLaboklab(65.51% 0.1022 -0.1762)
OKLCHoklch(65.51% 0.204 300.1)
XYZxyz(37.9228, 25.3994, 91.6934)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BF8 #BDF86B
analogous
#6B77F8 #A66BF8 #EC6BF8
triadic
#A66BF8 #F8A66B #6BF8A6
tetradic
#A66BF8 #F86B77 #BDF86B #6BF8EC
square
#A66BF8 #F86B77 #BDF86B #6BF8EC
split-complementary
#A66BF8 #F8EC6B #77F86B
monochromatic
#630BDE #8331F5 #A66BF8 #C9A5FB #ECE0FE

Accessibility & contrast

On white

3.45
#A66BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A66BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BF8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BF8#FFFFFF#000000##000000
##A66BF81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFD
Deuteranopia (green-blind)
#4189F5
Tritanopia (blue-blind)
#9588A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66bf8;
/* rgb */ color: rgb(166, 107, 248);
/* oklch */ color: oklch(65.5% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#c597fb',
    500: '#a66bf8',
    950: '#000000',
  },
}
SCSS
$custom: #a66bf8;
$custom-light: #c597fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bf8",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 265.106,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.20372,
    "h": 300.1
  },
  "luminance": 0.254
}

Semantic roles & 50–950 ramp

primary
#A66BF8
secondary
#E3F4CB
accent
#E60085
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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