#AA66EB#AA66EB

#AA66EB is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.4% C 0.197 H 305.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AA66EB
RGBrgb(170, 102, 235)
HSLhsl(271, 77%, 66%)
HSVhsv(271, 57%, 92%)
CMYKcmyk(27.7%, 56.6%, 0%, 7.8%)
CIE-LABlab(56.13, 51.91, -57.08)
CIE-LCHlch(56.13, 77.15, 312.28°)
OKLaboklab(64.39% 0.1132 -0.161)
OKLCHoklch(64.39% 0.197 305.1)
XYZxyz(36.3211, 24.0472, 81.3093)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66EB #A7EB66
analogous
#6766EB #AA66EB #EB66E9
triadic
#AA66EB #EBAA66 #66EBAA
tetradic
#AA66EB #EB6766 #A7EB66 #66E9EB
square
#AA66EB #EB6766 #A7EB66 #66E9EB
split-complementary
#AA66EB #E9EB66 #66EB67
monochromatic
#6D19BE #8C30E4 #AA66EB #C89CF2 #E6D2F9

Accessibility & contrast

On white

3.61
#AA66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AA66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66EB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66EB#FFFFFF#000000##000000
##AA66EB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#9F809F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa66eb;
/* rgb */ color: rgb(170, 102, 235);
/* oklch */ color: oklch(64.4% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#c794f2',
    500: '#aa66eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa66eb;
$custom-light: #c794f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66eb",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 270.677,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64386,
    "c": 0.19685,
    "h": 305.1
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#AA66EB
secondary
#D6ECC1
accent
#D90C70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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