#AA5BF1#AA5BF1

#AA5BF1 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.219 H 305.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA5BF1
RGBrgb(170, 91, 241)
HSLhsl(272, 84%, 65%)
HSVhsv(272, 62%, 95%)
CMYKcmyk(29.5%, 62.2%, 0%, 5.5%)
CIE-LABlab(54.43, 58.84, -63.17)
CIE-LCHlch(54.43, 86.33, 312.97°)
OKLaboklab(63.26% 0.1262 -0.1789)
OKLCHoklch(63.26% 0.219 305.2)
XYZxyz(36.1924, 22.3793, 85.6150)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BF1 #A2F15B
analogous
#5F5BF1 #AA5BF1 #F15BED
triadic
#AA5BF1 #F1AA5B #5BF1AA
tetradic
#AA5BF1 #F15F5B #A2F15B #5BEDF1
square
#AA5BF1 #F15F5B #A2F15B #5BEDF1
split-complementary
#AA5BF1 #EDF15B #5BF15F
monochromatic
#6E10C1 #8D23EC #AA5BF1 #C793F6 #E4CCFB

Accessibility & contrast

On white

3.84
#AA5BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AA5BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BF1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BF1#FFFFFF#000000##000000
##AA5BF11.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3682EE
Tritanopia (blue-blind)
#9D7A9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5bf1;
/* rgb */ color: rgb(170, 91, 241);
/* oklch */ color: oklch(63.3% 0.219 305.2);
Tailwind
colors: {
  custom: {
    50: '#c88df6',
    500: '#aa5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bf1;
$custom-light: #c88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bf1",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 271.6,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.21889,
    "h": 305.2
  },
  "luminance": 0.22379
}

Semantic roles & 50–950 ramp

primary
#AA5BF1
secondary
#D3EDBA
accent
#E1056D
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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