#A66BE6#A66BE6

#A66BE6 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.183 H 303.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A66BE6
RGBrgb(166, 107, 230)
HSLhsl(269, 71%, 66%)
HSVhsv(269, 53%, 90%)
CMYKcmyk(27.8%, 53.5%, 0%, 9.8%)
CIE-LABlab(56.42, 47.11, -53.85)
CIE-LCHlch(56.42, 71.55, 311.18°)
OKLaboklab(64.41% 0.1018 -0.1517)
OKLCHoklch(64.41% 0.183 303.9)
XYZxyz(35.2634, 24.3357, 77.6871)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BE6 #ABE66B
analogous
#6B6DE6 #A66BE6 #E36BE6
triadic
#A66BE6 #E6A66B #6BE6A6
tetradic
#A66BE6 #E66B6D #ABE66B #6BE6E3
square
#A66BE6 #E66B6D #ABE66B #6BE6E3
split-complementary
#A66BE6 #E6E36B #6DE66B
monochromatic
#681FB8 #8737DD #A66BE6 #C59FEF #E5D4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A66BE6#FFFFFF#000000##000000
##A66BE61.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)
#4086EA
Deuteranopia (green-blind)
#5387E3
Tritanopia (blue-blind)
#9B829E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66be6;
/* rgb */ color: rgb(166, 107, 230);
/* oklch */ color: oklch(64.4% 0.183 303.9);
Tailwind
colors: {
  custom: {
    50: '#c497ee',
    500: '#a66be6',
    950: '#000000',
  },
}
SCSS
$custom: #a66be6;
$custom-light: #c497ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a66be6",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 268.78,
    "s": 71.098,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.18267,
    "h": 303.9
  },
  "luminance": 0.24336
}

Semantic roles & 50–950 ramp

primary
#A66BE6
secondary
#D7EBC2
accent
#D31277
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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