#AA5BE5#AA5BE5

#AA5BE5 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.206 H 307.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA5BE5
RGBrgb(170, 91, 229)
HSLhsl(274, 73%, 63%)
HSVhsv(274, 60%, 90%)
CMYKcmyk(25.8%, 60.3%, 0%, 10.2%)
CIE-LABlab(53.69, 56.13, -57.63)
CIE-LCHlch(53.69, 80.44, 314.24°)
OKLaboklab(62.49% 0.1266 -0.1626)
OKLCHoklch(62.49% 0.206 307.9)
XYZxyz(34.4586, 21.6858, 76.4840)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BE5 #96E55B
analogous
#655BE5 #AA5BE5 #E55BDB
triadic
#AA5BE5 #E5AA5B #5BE5AA
tetradic
#AA5BE5 #E5655B #96E55B #5BDBE5
square
#AA5BE5 #E5655B #96E55B #5BDBE5
split-complementary
#AA5BE5 #DBE55B #5BE565
monochromatic
#6D1BAB #8F26DD #AA5BE5 #C590ED #E1C5F6

Accessibility & contrast

On white

3.93
#AA5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AA5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BE5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BE5#FFFFFF#000000##000000
##AA5BE51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE9
Deuteranopia (green-blind)
#4581E2
Tritanopia (blue-blind)
#A17698
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5be5;
/* rgb */ color: rgb(170, 91, 229);
/* oklch */ color: oklch(62.5% 0.206 307.9);
Tailwind
colors: {
  custom: {
    50: '#c78dee',
    500: '#aa5be5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5be5;
$custom-light: #c78dee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5be5",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 274.348,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.20607,
    "h": 307.9
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#AA5BE5
secondary
#CAE7B5
accent
#D51165
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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