#AA6FEC#AA6FEC

#AA6FEC is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.185 H 303.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA6FEC
RGBrgb(170, 111, 236)
HSLhsl(268, 77%, 68%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(28%, 53%, 0%, 7.5%)
CIE-LABlab(58.01, 47.38, -54.64)
CIE-LCHlch(58.01, 72.33, 310.93°)
OKLaboklab(65.78% 0.1019 -0.1539)
OKLCHoklch(65.78% 0.185 303.5)
XYZxyz(37.3990, 25.9711, 82.3833)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6FEC #B1EC6F
analogous
#6F72EC #AA6FEC #E86FEC
triadic
#AA6FEC #ECAA6F #6FECAA
tetradic
#AA6FEC #EC6F72 #B1EC6F #6FECE8
square
#AA6FEC #EC6F72 #B1EC6F #6FECE8
split-complementary
#AA6FEC #ECE86F #72EC6F
monochromatic
#6B1AC6 #8A39E5 #AA6FEC #CAA5F3 #EADBFA

Accessibility & contrast

On white

3.39
#AA6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AA6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6FEC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6FEC#FFFFFF#000000##000000
##AA6FEC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#9E86A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa6fec;
/* rgb */ color: rgb(170, 111, 236);
/* oklch */ color: oklch(65.8% 0.185 303.5);
Tailwind
colors: {
  custom: {
    50: '#c69af3',
    500: '#aa6fec',
    950: '#000000',
  },
}
SCSS
$custom: #aa6fec;
$custom-light: #c69af3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6fec",
  "rgb": {
    "r": 170,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 268.32,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65784,
    "c": 0.18461,
    "h": 303.5
  },
  "luminance": 0.25971
}

Semantic roles & 50–950 ramp

primary
#AA6FEC
secondary
#DCEFC8
accent
#D90D78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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