#A66CF2#A66CF2

#A66CF2 is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.3% C 0.195 H 301.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A66CF2
RGBrgb(166, 108, 242)
HSLhsl(266, 84%, 69%)
HSVhsv(266, 55%, 95%)
CMYKcmyk(31.4%, 55.4%, 0%, 5.1%)
CIE-LABlab(57.31, 49.45, -59.12)
CIE-LCHlch(57.31, 77.08, 309.91°)
OKLaboklab(65.28% 0.101 -0.1671)
OKLCHoklch(65.28% 0.195 301.1)
XYZxyz(37.1117, 25.2428, 86.9044)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CF2 #B8F26C
analogous
#6C75F2 #A66CF2 #E96CF2
triadic
#A66CF2 #F2A66C #6CF2A6
tetradic
#A66CF2 #F26C75 #B8F26C #6CF2E9
square
#A66CF2 #F26C75 #B8F26C #6CF2E9
split-complementary
#A66CF2 #F2E96C #75F26C
monochromatic
#6512D1 #8434ED #A66CF2 #C8A4F7 #EADCFC

Accessibility & contrast

On white

3.47
#A66CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A66CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CF2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CF2#FFFFFF#000000##000000
##A66CF21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#9787A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66cf2;
/* rgb */ color: rgb(166, 108, 242);
/* oklch */ color: oklch(65.3% 0.195 301.1);
Tailwind
colors: {
  custom: {
    50: '#c498f7',
    500: '#a66cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a66cf2;
$custom-light: #c498f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cf2",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 265.97,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65283,
    "c": 0.19527,
    "h": 301.1
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A66CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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