#AA66FE#AA66FE

#AA66FE is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.218 H 301.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA66FE
RGBrgb(170, 102, 254)
HSLhsl(267, 99%, 70%)
HSVhsv(267, 60%, 100%)
CMYKcmyk(33.1%, 59.8%, 0%, 0.4%)
CIE-LABlab(57.27, 56.39, -65.81)
CIE-LCHlch(57.27, 86.66, 310.59°)
OKLaboklab(65.58% 0.113 -0.1866)
OKLCHoklch(65.58% 0.218 301.2)
XYZxyz(39.2141, 25.2044, 96.5457)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66FE #BAFE66
analogous
#666EFE #AA66FE #F666FE
triadic
#AA66FE #FEAA66 #66FEAA
tetradic
#AA66FE #FE666E #BAFE66 #66FEF6
square
#AA66FE #FE666E #BAFE66 #66FEF6
split-complementary
#AA66FE #FEF666 #6EFE66
monochromatic
#6902E8 #8829FE #AA66FE #CCA3FE #EEE0FF

Accessibility & contrast

On white

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

On black

6.04
#AA66FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66FE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66FE#FFFFFF#000000##000000
##AA66FE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#3589FB
Tritanopia (blue-blind)
#9986A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa66fe;
/* rgb */ color: rgb(170, 102, 254);
/* oklch */ color: oklch(65.6% 0.218 301.2);
Tailwind
colors: {
  custom: {
    50: '#c895ff',
    500: '#aa66fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa66fe;
$custom-light: #c895ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66fe",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 266.842,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.2182,
    "h": 301.2
  },
  "luminance": 0.25205
}

Semantic roles & 50–950 ramp

primary
#AA66FE
secondary
#E2F5CA
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA66FE

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

Preview Lab → · Contrast checker → · Palette generator →

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