#AA6DFE#AA6DFE

#AA6DFE is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.6% C 0.209 H 300.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AA6DFE
RGBrgb(170, 109, 254)
HSLhsl(265, 99%, 71%)
HSVhsv(265, 57%, 100%)
CMYKcmyk(33.1%, 57.1%, 0%, 0.4%)
CIE-LABlab(58.64, 52.76, -63.61)
CIE-LCHlch(58.64, 82.65, 309.67°)
OKLaboklab(66.58% 0.1049 -0.1802)
OKLCHoklch(66.58% 0.209 300.2)
XYZxyz(39.9313, 26.6388, 96.7848)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6DFE #C1FE6D
analogous
#6D78FE #AA6DFE #F26DFE
triadic
#AA6DFE #FEAA6D #6DFEAA
tetradic
#AA6DFE #FE6D78 #C1FE6D #6DFEF2
square
#AA6DFE #FE6D78 #C1FE6D #6DFEF2
split-complementary
#AA6DFE #FEF26D #78FE6D
monochromatic
#6502EF #8730FE #AA6DFE #CDAAFE #EDE1FF

Accessibility & contrast

On white

3.32
#AA6DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AA6DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6DFE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6DFE#FFFFFF#000000##000000
##AA6DFE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#268DFF
Deuteranopia (green-blind)
#418CFB
Tritanopia (blue-blind)
#988BAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa6dfe;
/* rgb */ color: rgb(170, 109, 254);
/* oklch */ color: oklch(66.6% 0.209 300.2);
Tailwind
colors: {
  custom: {
    50: '#c899ff',
    500: '#aa6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #aa6dfe;
$custom-light: #c899ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6dfe",
  "rgb": {
    "r": 170,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 265.241,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6658,
    "c": 0.20851,
    "h": 300.2
  },
  "luminance": 0.26639
}

Semantic roles & 50–950 ramp

primary
#AA6DFE
secondary
#E6F6D0
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AA6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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