#A66FEF#A66FEF

#A66FEF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.187 H 301.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A66FEF
RGBrgb(166, 111, 239)
HSLhsl(266, 80%, 69%)
HSVhsv(266, 54%, 94%)
CMYKcmyk(30.5%, 53.6%, 0%, 6.3%)
CIE-LABlab(57.76, 47.11, -56.74)
CIE-LCHlch(57.76, 73.75, 309.71°)
OKLaboklab(65.56% 0.0971 -0.1602)
OKLCHoklch(65.56% 0.187 301.2)
XYZxyz(36.9867, 25.7077, 84.6581)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FEF #B8EF6F
analogous
#6F78EF #A66FEF #E66FEF
triadic
#A66FEF #EFA66F #6FEFA6
tetradic
#A66FEF #EF6F78 #B8EF6F #6FEFE6
square
#A66FEF #EF6F78 #B8EF6F #6FEFE6
split-complementary
#A66FEF #EFE66F #78EF6F
monochromatic
#6517CD #8438E9 #A66FEF #C8A6F5 #EADDFB

Accessibility & contrast

On white

3.42
#A66FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#A66FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FEF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FEF#FFFFFF#000000##000000
##A66FEF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#9888A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66fef;
/* rgb */ color: rgb(166, 111, 239);
/* oklch */ color: oklch(65.6% 0.187 301.2);
Tailwind
colors: {
  custom: {
    50: '#c49af5',
    500: '#a66fef',
    950: '#000000',
  },
}
SCSS
$custom: #a66fef;
$custom-light: #c49af5;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fef",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 265.781,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65557,
    "c": 0.18732,
    "h": 301.2
  },
  "luminance": 0.25708
}

Semantic roles & 50–950 ramp

primary
#A66FEF
secondary
#E0F0CA
accent
#DC0982
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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