#A66BEA#A66BEA

#A66BEA is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.6% C 0.187 H 303.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A66BEA
RGBrgb(166, 107, 234)
HSLhsl(268, 75%, 67%)
HSVhsv(268, 54%, 92%)
CMYKcmyk(29.1%, 54.3%, 0%, 8.2%)
CIE-LABlab(56.65, 48.06, -55.73)
CIE-LCHlch(56.65, 73.59, 310.78°)
OKLaboklab(64.65% 0.102 -0.1572)
OKLCHoklch(64.65% 0.187 303)
XYZxyz(35.8315, 24.5629, 80.6794)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BEA #AFEA6B
analogous
#6B70EA #A66BEA #E66BEA
triadic
#A66BEA #EAA66B #6BEAA6
tetradic
#A66BEA #EA6B70 #AFEA6B #6BEAE6
square
#A66BEA #EA6B70 #AFEA6B #6BEAE6
split-complementary
#A66BEA #EAE66B #70EA6B
monochromatic
#671BBF #8635E2 #A66BEA #C6A1F2 #E6D6F9

Accessibility & contrast

On white

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

On black

5.91
#A66BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BEA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BEA#FFFFFF#000000##000000
##A66BEA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#4F88E7
Tritanopia (blue-blind)
#9983A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66bea;
/* rgb */ color: rgb(166, 107, 234);
/* oklch */ color: oklch(64.6% 0.187 303.0);
Tailwind
colors: {
  custom: {
    50: '#c497f1',
    500: '#a66bea',
    950: '#000000',
  },
}
SCSS
$custom: #a66bea;
$custom-light: #c497f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bea",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 267.874,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64646,
    "c": 0.18736,
    "h": 303
  },
  "luminance": 0.24563
}

Semantic roles & 50–950 ramp

primary
#A66BEA
secondary
#DAEDC4
accent
#D70E7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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