#AA5BF3#AA5BF3

#AA5BF3 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.4% C 0.221 H 304.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AA5BF3
RGBrgb(170, 91, 243)
HSLhsl(271, 86%, 65%)
HSVhsv(271, 63%, 95%)
CMYKcmyk(30%, 62.6%, 0%, 4.7%)
CIE-LABlab(54.55, 59.30, -64.08)
CIE-LCHlch(54.55, 87.31, 312.78°)
OKLaboklab(63.39% 0.1261 -0.1815)
OKLCHoklch(63.39% 0.221 304.8)
XYZxyz(36.4927, 22.4995, 87.1970)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BF3 #A4F35B
analogous
#5E5BF3 #AA5BF3 #F35BF0
triadic
#AA5BF3 #F3AA5B #5BF3AA
tetradic
#AA5BF3 #F35E5B #A4F35B #5BF0F3
square
#AA5BF3 #F35E5B #A4F35B #5BF0F3
split-complementary
#AA5BF3 #F0F35B #5BF35E
monochromatic
#6D0EC5 #8C22EF #AA5BF3 #C894F7 #E5CDFB

Accessibility & contrast

On white

3.82
#AA5BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AA5BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BF3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BF3#FFFFFF#000000##000000
##AA5BF31.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#3383F0
Tritanopia (blue-blind)
#9D7B9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5bf3;
/* rgb */ color: rgb(170, 91, 243);
/* oklch */ color: oklch(63.4% 0.221 304.8);
Tailwind
colors: {
  custom: {
    50: '#c88ef8',
    500: '#aa5bf3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bf3;
$custom-light: #c88ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bf3",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 271.184,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.22102,
    "h": 304.8
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#AA5BF3
secondary
#D4EEBB
accent
#E3036E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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