#A66BF7#A66BF7

#A66BF7 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.4% C 0.203 H 300.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A66BF7
RGBrgb(166, 107, 247)
HSLhsl(265, 90%, 69%)
HSVhsv(265, 57%, 97%)
CMYKcmyk(32.8%, 56.7%, 0%, 3.1%)
CIE-LABlab(57.40, 51.20, -61.75)
CIE-LCHlch(57.40, 80.22, 309.66°)
OKLaboklab(65.44% 0.1022 -0.1748)
OKLCHoklch(65.44% 0.203 300.3)
XYZxyz(37.7681, 25.3375, 90.8785)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BF7 #BCF76B
analogous
#6B76F7 #A66BF7 #EC6BF7
triadic
#A66BF7 #F7A66B #6BF7A6
tetradic
#A66BF7 #F76B76 #BCF76B #6BF7EC
square
#A66BF7 #F76B76 #BCF76B #6BF7EC
split-complementary
#A66BF7 #F7EC6B #76F76B
monochromatic
#630CDC #8331F4 #A66BF7 #C9A5FA #ECDFFD

Accessibility & contrast

On white

3.46
#A66BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A66BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BF7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BF7#FFFFFF#000000##000000
##A66BF71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#9588A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66bf7;
/* rgb */ color: rgb(166, 107, 247);
/* oklch */ color: oklch(65.4% 0.203 300.3);
Tailwind
colors: {
  custom: {
    50: '#c597fb',
    500: '#a66bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a66bf7;
$custom-light: #c597fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bf7",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 265.286,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65445,
    "c": 0.20255,
    "h": 300.3
  },
  "luminance": 0.25338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A66BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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