#AA6CDC#AA6CDC

#AA6CDC is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.171 H 307.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AA6CDC
RGBrgb(170, 108, 220)
HSLhsl(273, 62%, 64%)
HSVhsv(273, 51%, 86%)
CMYKcmyk(22.7%, 50.9%, 0%, 13.7%)
CIE-LABlab(56.52, 45.28, -48.04)
CIE-LCHlch(56.52, 66.02, 313.31°)
OKLaboklab(64.41% 0.1047 -0.1346)
OKLCHoklch(64.41% 0.171 307.9)
XYZxyz(34.8558, 24.4389, 70.5772)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6CDC #9EDC6C
analogous
#726CDC #AA6CDC #DC6CD6
triadic
#AA6CDC #DCAA6C #6CDCAA
tetradic
#AA6CDC #DC726C #9EDC6C #6CD6DC
square
#AA6CDC #DC726C #9EDC6C #6CD6DC
split-complementary
#AA6CDC #D6DC6C #6CDC72
monochromatic
#6E28A6 #8D3BD0 #AA6CDC #C79DE8 #E3CFF4

Accessibility & contrast

On white

3.57
#AA6CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AA6CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6CDC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6CDC#FFFFFF#000000##000000
##AA6CDC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#A37F9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa6cdc;
/* rgb */ color: rgb(170, 108, 220);
/* oklch */ color: oklch(64.4% 0.171 307.9);
Tailwind
colors: {
  custom: {
    50: '#c698e7',
    500: '#aa6cdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa6cdc;
$custom-light: #c698e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6cdc",
  "rgb": {
    "r": 170,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 273.214,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64406,
    "c": 0.17055,
    "h": 307.9
  },
  "luminance": 0.24438
}

Semantic roles & 50–950 ramp

primary
#AA6CDC
secondary
#D0E5BE
accent
#C91C69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA6CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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