#AA6ECA#AA6ECA

#AA6ECA is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.8% C 0.146 H 312.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA6ECA
RGBrgb(170, 110, 202)
HSLhsl(279, 46%, 61%)
HSVhsv(279, 46%, 79%)
CMYKcmyk(15.8%, 45.5%, 0%, 20.8%)
CIE-LABlab(56.05, 40.19, -38.61)
CIE-LCHlch(56.05, 55.73, 316.15°)
OKLaboklab(63.76% 0.0997 -0.1072)
OKLCHoklch(63.76% 0.146 312.9)
XYZxyz(32.8124, 23.9629, 58.7624)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6ECA #8ECA6E
analogous
#7C6ECA #AA6ECA #CA6EBC
triadic
#AA6ECA #CAAA6E #6ECAAA
tetradic
#AA6ECA #CA7C6E #8ECA6E #6EBCCA
square
#AA6ECA #CA7C6E #8ECA6E #6EBCCA
split-complementary
#AA6ECA #BCCA6E #6ECA7C
monochromatic
#6C338B #8F43B8 #AA6ECA #C49BDA #DFC8EB

Accessibility & contrast

On white

3.63
#AA6ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AA6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6ECA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6ECA#FFFFFF#000000##000000
##AA6ECA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6B88C7
Tritanopia (blue-blind)
#A77C92
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa6eca;
/* rgb */ color: rgb(170, 110, 202);
/* oklch */ color: oklch(63.8% 0.146 312.9);
Tailwind
colors: {
  custom: {
    50: '#c599da',
    500: '#aa6eca',
    950: '#000000',
  },
}
SCSS
$custom: #aa6eca;
$custom-light: #c599da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6eca",
  "rgb": {
    "r": 170,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 279.13,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.14643,
    "h": 312.9
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#AA6ECA
secondary
#C5DBB9
accent
#BA2C5D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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