#AA5CF4#AA5CF4

#AA5CF4 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.6% C 0.221 H 304.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF4
RGBrgb(170, 92, 244)
HSLhsl(271, 87%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(30.3%, 62.3%, 0%, 4.3%)
CIE-LABlab(54.80, 59.04, -64.25)
CIE-LCHlch(54.80, 87.26, 312.58°)
OKLaboklab(63.59% 0.1249 -0.182)
OKLCHoklch(63.59% 0.221 304.4)
XYZxyz(36.7302, 22.7322, 88.0231)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF4 #A6F45C
analogous
#5E5CF4 #AA5CF4 #F45CF2
triadic
#AA5CF4 #F4AA5C #5CF4AA
tetradic
#AA5CF4 #F45E5C #A6F45C #5CF2F4
square
#AA5CF4 #F45E5C #A6F45C #5CF2F4
split-complementary
#AA5CF4 #F2F45C #5CF45E
monochromatic
#6D0EC8 #8C23F0 #AA5CF4 #C895F8 #E6CFFC

Accessibility & contrast

On white

3.79
#AA5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AA5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF4#FFFFFF#000000##000000
##AA5CF41.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#3383F1
Tritanopia (blue-blind)
#9C7CA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5cf4;
/* rgb */ color: rgb(170, 92, 244);
/* oklch */ color: oklch(63.6% 0.221 304.4);
Tailwind
colors: {
  custom: {
    50: '#c88ef9',
    500: '#aa5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf4;
$custom-light: #c88ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf4",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 270.789,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.22075,
    "h": 304.4
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#AA5CF4
secondary
#D5EFBD
accent
#E40270
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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