#AA5CEC#AA5CEC

#AA5CEC is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.212 H 306.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AA5CEC
RGBrgb(170, 92, 236)
HSLhsl(273, 79%, 64%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(28%, 61%, 0%, 7.5%)
CIE-LABlab(54.30, 57.21, -60.58)
CIE-LCHlch(54.30, 83.33, 313.36°)
OKLaboklab(63.07% 0.1252 -0.1713)
OKLCHoklch(63.07% 0.212 306.2)
XYZxyz(35.5418, 22.2568, 81.7642)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CEC #9EEC5C
analogous
#625CEC #AA5CEC #EC5CE6
triadic
#AA5CEC #ECAA5C #5CECAA
tetradic
#AA5CEC #EC625C #9EEC5C #5CE6EC
square
#AA5CEC #EC625C #9EEC5C #5CE6EC
split-complementary
#AA5CEC #E6EC5C #5CEC62
monochromatic
#6E15B8 #8D25E6 #AA5CEC #C793F2 #E3CAF9

Accessibility & contrast

On white

3.85
#AA5CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AA5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CEC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CEC#FFFFFF#000000##000000
##AA5CEC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FF1
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#9F799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5cec;
/* rgb */ color: rgb(170, 92, 236);
/* oklch */ color: oklch(63.1% 0.212 306.2);
Tailwind
colors: {
  custom: {
    50: '#c78ef3',
    500: '#aa5cec',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cec;
$custom-light: #c78ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cec",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 272.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63066,
    "c": 0.21217,
    "h": 306.2
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#AA5CEC
secondary
#D0EBB9
accent
#DB0A6A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #AA5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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