#AA5BE7#AA5BE7

#AA5BE7 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.208 H 307.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AA5BE7
RGBrgb(170, 91, 231)
HSLhsl(274, 74%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.4%, 60.6%, 0%, 9.4%)
CIE-LABlab(53.81, 56.58, -58.56)
CIE-LCHlch(53.81, 81.43, 314.01°)
OKLaboklab(62.61% 0.1266 -0.1653)
OKLCHoklch(62.61% 0.208 307.4)
XYZxyz(34.7395, 21.7982, 77.9632)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BE7 #98E75B
analogous
#645BE7 #AA5BE7 #E75BDE
triadic
#AA5BE7 #E7AA5B #5BE7AA
tetradic
#AA5BE7 #E7645B #98E75B #5BDEE7
square
#AA5BE7 #E7645B #98E75B #5BDEE7
split-complementary
#AA5BE7 #DEE75B #5BE764
monochromatic
#6D19AE #8E26DF #AA5BE7 #C690EF #E1C6F7

Accessibility & contrast

On white

3.92
#AA5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AA5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BE7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BE7#FFFFFF#000000##000000
##AA5BE71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#A07799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5be7;
/* rgb */ color: rgb(170, 91, 231);
/* oklch */ color: oklch(62.6% 0.208 307.4);
Tailwind
colors: {
  custom: {
    50: '#c78def',
    500: '#aa5be7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5be7;
$custom-light: #c78def;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5be7",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 273.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62615,
    "c": 0.20821,
    "h": 307.4
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#AA5BE7
secondary
#CCE8B6
accent
#D70F66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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