#A66FE5#A66FE5

#A66FE5 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.0% C 0.175 H 303.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A66FE5
RGBrgb(166, 111, 229)
HSLhsl(268, 69%, 67%)
HSVhsv(268, 52%, 90%)
CMYKcmyk(27.5%, 51.5%, 0%, 10.2%)
CIE-LABlab(57.20, 44.71, -52.04)
CIE-LCHlch(57.20, 68.61, 310.67°)
OKLaboklab(64.97% 0.0966 -0.1464)
OKLCHoklch(64.97% 0.175 303.4)
XYZxyz(35.5501, 25.1331, 77.0919)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FE5 #AEE56F
analogous
#6F73E5 #A66FE5 #E16FE5
triadic
#A66FE5 #E5A66F #6FE5A6
tetradic
#A66FE5 #E56F73 #AEE56F #6FE5E1
square
#A66FE5 #E56F73 #AEE56F #6FE5E1
split-complementary
#A66FE5 #E5E16F #73E56F
monochromatic
#6821B8 #863BDC #A66FE5 #C6A3EE #E6D7F8

Accessibility & contrast

On white

3.48
#A66FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A66FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FE5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FE5#FFFFFF#000000##000000
##A66FE51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#9B85A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66fe5;
/* rgb */ color: rgb(166, 111, 229);
/* oklch */ color: oklch(65.0% 0.175 303.4);
Tailwind
colors: {
  custom: {
    50: '#c39aee',
    500: '#a66fe5',
    950: '#000000',
  },
}
SCSS
$custom: #a66fe5;
$custom-light: #c39aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fe5",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 267.966,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.17538,
    "h": 303.4
  },
  "luminance": 0.25133
}

Semantic roles & 50–950 ramp

primary
#A66FE5
secondary
#D9EBC5
accent
#D11479
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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