#A666F7#A666F7

#A666F7 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.210 H 301.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A666F7
RGBrgb(166, 102, 247)
HSLhsl(266, 90%, 68%)
HSVhsv(266, 59%, 97%)
CMYKcmyk(32.8%, 58.7%, 0%, 3.1%)
CIE-LABlab(56.41, 53.82, -63.34)
CIE-LCHlch(56.41, 83.12, 310.36°)
OKLaboklab(64.72% 0.1082 -0.1795)
OKLCHoklch(64.72% 0.21 301.1)
XYZxyz(37.2618, 24.3250, 90.7098)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666F7 #B7F766
analogous
#666EF7 #A666F7 #EF66F7
triadic
#A666F7 #F7A666 #66F7A6
tetradic
#A666F7 #F7666E #B7F766 #66F7EF
square
#A666F7 #F7666E #B7F766 #66F7EF
split-complementary
#A666F7 #F7EF66 #6EF766
monochromatic
#650BD7 #842CF4 #A666F7 #C8A0FA #EADAFD

Accessibility & contrast

On white

3.58
#A666F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A666F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666F7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666F7#FFFFFF#000000##000000
##A666F71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1587FC
Deuteranopia (green-blind)
#3A86F4
Tritanopia (blue-blind)
#9584A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a666f7;
/* rgb */ color: rgb(166, 102, 247);
/* oklch */ color: oklch(64.7% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#c594fb',
    500: '#a666f7',
    950: '#000000',
  },
}
SCSS
$custom: #a666f7;
$custom-light: #c594fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a666f7",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 266.483,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.20959,
    "h": 301.1
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#A666F7
secondary
#DFF2C7
accent
#E60080
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666F7

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

Preview Lab → · Contrast checker → · Palette generator →

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