#AA5CDC#AA5CDC

#AA5CDC is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.1% C 0.195 H 310.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AA5CDC
RGBrgb(170, 92, 220)
HSLhsl(277, 65%, 61%)
HSVhsv(277, 58%, 86%)
CMYKcmyk(22.7%, 58.2%, 0%, 13.7%)
CIE-LABlab(53.35, 53.63, -53.10)
CIE-LCHlch(53.35, 75.47, 315.29°)
OKLaboklab(62.07% 0.1254 -0.1493)
OKLCHoklch(62.07% 0.195 310)
XYZxyz(33.3205, 21.3683, 70.0655)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CDC #8EDC5C
analogous
#6A5CDC #AA5CDC #DC5CCE
triadic
#AA5CDC #DCAA5C #5CDCAA
tetradic
#AA5CDC #DC6A5C #8EDC5C #5CCEDC
square
#AA5CDC #DC6A5C #8EDC5C #5CCEDC
split-complementary
#AA5CDC #CEDC5C #5CDC6A
monochromatic
#6C229C #8F2CCE #AA5CDC #C48EE7 #DFC1F2

Accessibility & contrast

On white

3.98
#AA5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AA5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CDC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CDC#FFFFFF#000000##000000
##AA5CDC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#A37493
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cdc;
/* rgb */ color: rgb(170, 92, 220);
/* oklch */ color: oklch(62.1% 0.195 310.0);
Tailwind
colors: {
  custom: {
    50: '#c68ee7',
    500: '#aa5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cdc;
$custom-light: #c68ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cdc",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 276.563,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62071,
    "c": 0.19501,
    "h": 310
  },
  "luminance": 0.21368
}

Semantic roles & 50–950 ramp

primary
#AA5CDC
secondary
#C5E2B2
accent
#CC195F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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