#AA5BEE#AA5BEE

#AA5BEE is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.1% C 0.216 H 305.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AA5BEE
RGBrgb(170, 91, 238)
HSLhsl(272, 81%, 65%)
HSVhsv(272, 62%, 93%)
CMYKcmyk(28.6%, 61.8%, 0%, 6.7%)
CIE-LABlab(54.24, 58.16, -61.80)
CIE-LCHlch(54.24, 84.86, 313.26°)
OKLaboklab(63.06% 0.1263 -0.1748)
OKLCHoklch(63.06% 0.216 305.8)
XYZxyz(35.7479, 22.2016, 83.2744)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BEE #9FEE5B
analogous
#615BEE #AA5BEE #EE5BE8
triadic
#AA5BEE #EEAA5B #5BEEAA
tetradic
#AA5BEE #EE615B #9FEE5B #5BE8EE
square
#AA5BEE #EE615B #9FEE5B #5BE8EE
split-complementary
#AA5BEE #E8EE5B #5BEE61
monochromatic
#6E13BB #8D24E8 #AA5BEE #C792F4 #E3CAF9

Accessibility & contrast

On white

3.86
#AA5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AA5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BEE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BEE#FFFFFF#000000##000000
##AA5BEE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#3A82EB
Tritanopia (blue-blind)
#9E799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5bee;
/* rgb */ color: rgb(170, 91, 238);
/* oklch */ color: oklch(63.1% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#c78df4',
    500: '#aa5bee',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bee;
$custom-light: #c78df4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bee",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 272.245,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63063,
    "c": 0.21568,
    "h": 305.8
  },
  "luminance": 0.22201
}

Semantic roles & 50–950 ramp

primary
#AA5BEE
secondary
#D1ECB9
accent
#DE086B
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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