#AA5CF5#AA5CF5

#AA5CF5 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.222 H 304.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF5
RGBrgb(170, 92, 245)
HSLhsl(271, 88%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(30.6%, 62.4%, 0%, 3.9%)
CIE-LABlab(54.86, 59.27, -64.71)
CIE-LCHlch(54.86, 87.75, 312.49°)
OKLaboklab(63.65% 0.1248 -0.1834)
OKLCHoklch(63.65% 0.222 304.2)
XYZxyz(36.8824, 22.7930, 88.8249)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF5 #A7F55C
analogous
#5D5CF5 #AA5CF5 #F55CF4
triadic
#AA5CF5 #F5AA5C #5CF5AA
tetradic
#AA5CF5 #F55D5C #A7F55C #5CF4F5
square
#AA5CF5 #F55D5C #A7F55C #5CF4F5
split-complementary
#AA5CF5 #F4F55C #5CF55D
monochromatic
#6D0CCA #8C22F1 #AA5CF5 #C896F9 #E6CFFC

Accessibility & contrast

On white

3.78
#AA5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AA5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF5#FFFFFF#000000##000000
##AA5CF51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#3283F2
Tritanopia (blue-blind)
#9C7CA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5cf5;
/* rgb */ color: rgb(170, 92, 245);
/* oklch */ color: oklch(63.6% 0.222 304.2);
Tailwind
colors: {
  custom: {
    50: '#c88ef9',
    500: '#aa5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf5;
$custom-light: #c88ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf5",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 270.588,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6365,
    "c": 0.22182,
    "h": 304.2
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#AA5CF5
secondary
#D6F0BD
accent
#E50071
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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