#A66EFB#A66EFB

#A66EFB is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.1% C 0.203 H 299.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A66EFB
RGBrgb(166, 110, 251)
HSLhsl(264, 95%, 71%)
HSVhsv(264, 56%, 98%)
CMYKcmyk(33.9%, 56.2%, 0%, 1.6%)
CIE-LABlab(58.25, 50.59, -62.61)
CIE-LCHlch(58.25, 80.49, 308.94°)
OKLaboklab(66.14% 0.0987 -0.1774)
OKLCHoklch(66.14% 0.203 299.1)
XYZxyz(38.7102, 26.2235, 94.2703)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EFB #C3FB6E
analogous
#6E7CFB #A66EFB #ED6EFB
triadic
#A66EFB #FBA66E #6EFBA6
tetradic
#A66EFB #FB6E7C #C3FB6E #6EFBED
square
#A66EFB #FB6E7C #C3FB6E #6EFBED
split-complementary
#A66EFB #FBED6E #7CFB6E
monochromatic
#6006E8 #8132F9 #A66EFB #CBAAFD #EDE1FE

Accessibility & contrast

On white

3.36
#A66EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A66EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EFB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EFB#FFFFFF#000000##000000
##A66EFB1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8CFF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#948BAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a66efb;
/* rgb */ color: rgb(166, 110, 251);
/* oklch */ color: oklch(66.1% 0.203 299.1);
Tailwind
colors: {
  custom: {
    50: '#c599fd',
    500: '#a66efb',
    950: '#000000',
  },
}
SCSS
$custom: #a66efb;
$custom-light: #c599fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a66efb",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 263.83,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66142,
    "c": 0.20297,
    "h": 299.1
  },
  "luminance": 0.26224
}

Semantic roles & 50–950 ramp

primary
#A66EFB
secondary
#E6F5CF
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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