#A666FB#A666FB

#A666FB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.214 H 300.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A666FB
RGBrgb(166, 102, 251)
HSLhsl(266, 95%, 69%)
HSVhsv(266, 59%, 98%)
CMYKcmyk(33.9%, 59.4%, 0%, 1.6%)
CIE-LABlab(56.66, 54.79, -65.16)
CIE-LCHlch(56.66, 85.13, 310.06°)
OKLaboklab(64.98% 0.1081 -0.1849)
OKLCHoklch(64.98% 0.214 300.3)
XYZxyz(37.8856, 24.5745, 93.9955)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666FB #BBFB66
analogous
#6671FB #A666FB #F166FB
triadic
#A666FB #FBA666 #66FBA6
tetradic
#A666FB #FB6671 #BBFB66 #66FBF1
square
#A666FB #FB6671 #BBFB66 #66FBF1
split-complementary
#A666FB #FBF166 #71FB66
monochromatic
#6406E1 #832AF9 #A666FB #C9A2FD #EBDDFE

Accessibility & contrast

On white

3.55
#A666FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A666FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666FB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666FB#FFFFFF#000000##000000
##A666FB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0187FF
Deuteranopia (green-blind)
#3487F8
Tritanopia (blue-blind)
#9485A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a666fb;
/* rgb */ color: rgb(166, 102, 251);
/* oklch */ color: oklch(65.0% 0.214 300.3);
Tailwind
colors: {
  custom: {
    50: '#c594fd',
    500: '#a666fb',
    950: '#000000',
  },
}
SCSS
$custom: #a666fb;
$custom-light: #c594fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a666fb",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 265.772,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.21414,
    "h": 300.3
  },
  "luminance": 0.24575
}

Semantic roles & 50–950 ramp

primary
#A666FB
secondary
#E1F4C9
accent
#E60083
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A666FB

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

Preview Lab → · Contrast checker → · Palette generator →

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