#AA6CFE#AA6CFE

#AA6CFE is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.4% C 0.210 H 300.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AA6CFE
RGBrgb(170, 108, 254)
HSLhsl(265, 99%, 71%)
HSVhsv(265, 57%, 100%)
CMYKcmyk(33.1%, 57.5%, 0%, 0.4%)
CIE-LABlab(58.44, 53.29, -63.93)
CIE-LCHlch(58.44, 83.23, 309.81°)
OKLaboklab(66.43% 0.1061 -0.1811)
OKLCHoklch(66.43% 0.21 300.3)
XYZxyz(39.8252, 26.4267, 96.7494)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6CFE #C0FE6C
analogous
#6C77FE #AA6CFE #F36CFE
triadic
#AA6CFE #FEAA6C #6CFEAA
tetradic
#AA6CFE #FE6C77 #C0FE6C #6CFEF3
square
#AA6CFE #FE6C77 #C0FE6C #6CFEF3
split-complementary
#AA6CFE #FEF36C #77FE6C
monochromatic
#6602EE #872FFE #AA6CFE #CDA9FE #EDE1FF

Accessibility & contrast

On white

3.34
#AA6CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AA6CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6CFE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6CFE#FFFFFF#000000##000000
##AA6CFE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#228CFF
Deuteranopia (green-blind)
#408CFB
Tritanopia (blue-blind)
#988AAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa6cfe;
/* rgb */ color: rgb(170, 108, 254);
/* oklch */ color: oklch(66.4% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#c898ff',
    500: '#aa6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #aa6cfe;
$custom-light: #c898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6cfe",
  "rgb": {
    "r": 170,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 265.479,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66434,
    "c": 0.20991,
    "h": 300.3
  },
  "luminance": 0.26427
}

Semantic roles & 50–950 ramp

primary
#AA6CFE
secondary
#E6F6CF
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AA6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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