#AA5BFC#AA5BFC

#AA5BFC is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.0% C 0.231 H 302.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AA5BFC
RGBrgb(170, 91, 252)
HSLhsl(269, 96%, 67%)
HSVhsv(269, 64%, 99%)
CMYKcmyk(32.5%, 63.9%, 0%, 1.2%)
CIE-LABlab(55.13, 61.37, -68.16)
CIE-LCHlch(55.13, 91.72, 312.00°)
OKLaboklab(63.99% 0.1254 -0.1935)
OKLCHoklch(63.99% 0.231 302.9)
XYZxyz(37.8853, 23.0565, 94.5310)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BFC #ADFC5B
analogous
#5B5DFC #AA5BFC #FA5BFC
triadic
#AA5BFC #FCAA5B #5BFCAA
tetradic
#AA5BFC #FC5B5D #ADFC5B #5BFCFA
square
#AA5BFC #FC5B5D #ADFC5B #5BFCFA
split-complementary
#AA5BFC #FCFA5B #5DFC5B
monochromatic
#6C04D9 #8B1FFB #AA5BFC #C997FD #E8D3FE

Accessibility & contrast

On white

3.74
#AA5BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AA5BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BFC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BFC#FFFFFF#000000##000000
##AA5BFC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#2284F8
Tritanopia (blue-blind)
#9A7EA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5bfc;
/* rgb */ color: rgb(170, 91, 252);
/* oklch */ color: oklch(64.0% 0.231 302.9);
Tailwind
colors: {
  custom: {
    50: '#c88efe',
    500: '#aa5bfc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bfc;
$custom-light: #c88efe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bfc",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 252
  },
  "hsl": {
    "h": 269.441,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.23059,
    "h": 302.9
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#AA5BFC
secondary
#DAF3C0
accent
#E60075
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AA5BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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