#AA66FA#AA66FA

#AA66FA is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.3% C 0.214 H 302.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AA66FA
RGBrgb(170, 102, 250)
HSLhsl(268, 94%, 69%)
HSVhsv(268, 59%, 98%)
CMYKcmyk(32%, 59.2%, 0%, 2%)
CIE-LABlab(57.03, 55.43, -63.99)
CIE-LCHlch(57.03, 84.66, 310.90°)
OKLaboklab(65.33% 0.1132 -0.1813)
OKLCHoklch(65.33% 0.214 302)
XYZxyz(38.5802, 24.9508, 93.2074)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66FA #B6FA66
analogous
#666CFA #AA66FA #F466FA
triadic
#AA66FA #FAAA66 #66FAAA
tetradic
#AA66FA #FA666C #B6FA66 #66FAF4
square
#AA66FA #FA666C #B6FA66 #66FAF4
split-complementary
#AA66FA #FAF466 #6CFA66
monochromatic
#6A07DE #892BF8 #AA66FA #CBA1FC #ECDDFE

Accessibility & contrast

On white

3.51
#AA66FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AA66FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66FA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66FA#FFFFFF#000000##000000
##AA66FA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1088FF
Deuteranopia (green-blind)
#3B88F7
Tritanopia (blue-blind)
#9A85A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa66fa;
/* rgb */ color: rgb(170, 102, 250);
/* oklch */ color: oklch(65.3% 0.214 302.0);
Tailwind
colors: {
  custom: {
    50: '#c894fd',
    500: '#aa66fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa66fa;
$custom-light: #c894fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66fa",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 267.568,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.21372,
    "h": 302
  },
  "luminance": 0.24951
}

Semantic roles & 50–950 ramp

primary
#AA66FA
secondary
#E0F4C8
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA66FA

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

Preview Lab → · Contrast checker → · Palette generator →

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