#AA5CFF#AA5CFF

#AA5CFF is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.233 H 302.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AA5CFF
RGBrgb(170, 92, 255)
HSLhsl(269, 100%, 68%)
HSVhsv(269, 64%, 100%)
CMYKcmyk(33.3%, 63.9%, 0%, 0%)
CIE-LABlab(55.50, 61.59, -69.22)
CIE-LCHlch(55.50, 92.65, 311.66°)
OKLaboklab(64.32% 0.1241 -0.1966)
OKLCHoklch(64.32% 0.233 302.3)
XYZxyz(38.4505, 23.4203, 97.0832)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CFF #B1FF5C
analogous
#5C5FFF #AA5CFF #FC5CFF
triadic
#AA5CFF #FFAA5C #5CFFAA
tetradic
#AA5CFF #FF5C5F #B1FF5C #5CFFFC
square
#AA5CFF #FF5C5F #B1FF5C #5CFFFC
split-complementary
#AA5CFF #FFFC5C #5FFF5C
monochromatic
#6B00E1 #8A1FFF #AA5CFF #CA99FF #EAD6FF

Accessibility & contrast

On white

3.69
#AA5CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AA5CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CFF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CFF#FFFFFF#000000##000000
##AA5CFF1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#1C84FB
Tritanopia (blue-blind)
#9980A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa5cff;
/* rgb */ color: rgb(170, 92, 255);
/* oklch */ color: oklch(64.3% 0.233 302.3);
Tailwind
colors: {
  custom: {
    50: '#c98eff',
    500: '#aa5cff',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cff;
$custom-light: #c98eff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cff",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 255
  },
  "hsl": {
    "h": 268.712,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6432,
    "c": 0.2325,
    "h": 302.3
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#AA5CFF
secondary
#DCF4C2
accent
#E60078
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA5CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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