#AA5BE9#AA5BE9

#AA5BE9 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.210 H 307.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AA5BE9
RGBrgb(170, 91, 233)
HSLhsl(273, 76%, 64%)
HSVhsv(273, 61%, 91%)
CMYKcmyk(27%, 60.9%, 0%, 8.6%)
CIE-LABlab(53.93, 57.03, -59.49)
CIE-LCHlch(53.93, 82.41, 313.79°)
OKLaboklab(62.74% 0.1265 -0.168)
OKLCHoklch(62.74% 0.21 307)
XYZxyz(35.0236, 21.9118, 79.4593)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BE9 #9AE95B
analogous
#635BE9 #AA5BE9 #E95BE1
triadic
#AA5BE9 #E9AA5B #5BE9AA
tetradic
#AA5BE9 #E9635B #9AE95B #5BE1E9
square
#AA5BE9 #E9635B #9AE95B #5BE1E9
split-complementary
#AA5BE9 #E1E95B #5BE963
monochromatic
#6D18B2 #8E25E2 #AA5BE9 #C691F0 #E2C7F7

Accessibility & contrast

On white

3.90
#AA5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AA5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BE9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BE9#FFFFFF#000000##000000
##AA5BE91.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7EED
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#A0779A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5be9;
/* rgb */ color: rgb(170, 91, 233);
/* oklch */ color: oklch(62.7% 0.210 307.0);
Tailwind
colors: {
  custom: {
    50: '#c78df1',
    500: '#aa5be9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5be9;
$custom-light: #c78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5be9",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 273.38,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.21034,
    "h": 307
  },
  "luminance": 0.21911
}

Semantic roles & 50–950 ramp

primary
#AA5BE9
secondary
#CDE9B7
accent
#D90D67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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