#AA5BEF#AA5BEF

#AA5BEF is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.217 H 305.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AA5BEF
RGBrgb(170, 91, 239)
HSLhsl(272, 82%, 65%)
HSVhsv(272, 62%, 94%)
CMYKcmyk(28.9%, 61.9%, 0%, 6.3%)
CIE-LABlab(54.30, 58.39, -62.26)
CIE-LCHlch(54.30, 85.35, 313.16°)
OKLaboklab(63.13% 0.1263 -0.1762)
OKLCHoklch(63.13% 0.217 305.6)
XYZxyz(35.8953, 22.2605, 84.0503)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BEF #A0EF5B
analogous
#605BEF #AA5BEF #EF5BEA
triadic
#AA5BEF #EFAA5B #5BEFAA
tetradic
#AA5BEF #EF605B #A0EF5B #5BEAEF
square
#AA5BEF #EF605B #A0EF5B #5BEAEF
split-complementary
#AA5BEF #EAEF5B #5BEF60
monochromatic
#6E12BD #8D23EA #AA5BEF #C793F4 #E4CBFA

Accessibility & contrast

On white

3.85
#AA5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AA5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BEF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BEF#FFFFFF#000000##000000
##AA5BEF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#9E7A9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5bef;
/* rgb */ color: rgb(170, 91, 239);
/* oklch */ color: oklch(63.1% 0.217 305.6);
Tailwind
colors: {
  custom: {
    50: '#c88df5',
    500: '#aa5bef',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bef;
$custom-light: #c88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bef",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 272.027,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63128,
    "c": 0.21675,
    "h": 305.6
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#AA5BEF
secondary
#D1ECBA
accent
#DF076B
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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