#AA6BEC#AA6BEC

#AA6BEC is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.191 H 304.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA6BEC
RGBrgb(170, 107, 236)
HSLhsl(269, 77%, 67%)
HSVhsv(269, 55%, 93%)
CMYKcmyk(28%, 54.7%, 0%, 7.5%)
CIE-LABlab(57.19, 49.52, -55.95)
CIE-LCHlch(57.19, 74.72, 311.51°)
OKLaboklab(65.18% 0.107 -0.1577)
OKLCHoklch(65.18% 0.191 304.2)
XYZxyz(36.9723, 25.1177, 82.2410)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6BEC #ADEC6B
analogous
#6B6DEC #AA6BEC #EA6BEC
triadic
#AA6BEC #ECAA6B #6BECAA
tetradic
#AA6BEC #EC6B6D #ADEC6B #6BECEA
square
#AA6BEC #EC6B6D #ADEC6B #6BECEA
split-complementary
#AA6BEC #ECEA6B #6DEC6B
monochromatic
#6C19C4 #8B35E5 #AA6BEC #C9A1F3 #E8D7FA

Accessibility & contrast

On white

3.49
#AA6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AA6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6BEC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6BEC#FFFFFF#000000##000000
##AA6BEC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#9E84A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa6bec;
/* rgb */ color: rgb(170, 107, 236);
/* oklch */ color: oklch(65.2% 0.191 304.2);
Tailwind
colors: {
  custom: {
    50: '#c797f3',
    500: '#aa6bec',
    950: '#000000',
  },
}
SCSS
$custom: #aa6bec;
$custom-light: #c797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6bec",
  "rgb": {
    "r": 170,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 269.302,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65179,
    "c": 0.1906,
    "h": 304.2
  },
  "luminance": 0.25118
}

Semantic roles & 50–950 ramp

primary
#AA6BEC
secondary
#DAEEC5
accent
#D90C75
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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