#AA5BE8#AA5BE8

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

Color values

HEX#AA5BE8
RGBrgb(170, 91, 232)
HSLhsl(274, 75%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.7%, 60.8%, 0%, 9%)
CIE-LABlab(53.87, 56.80, -59.02)
CIE-LCHlch(53.87, 81.92, 313.90°)
OKLaboklab(62.68% 0.1265 -0.1667)
OKLCHoklch(62.68% 0.209 307.2)
XYZxyz(34.8811, 21.8548, 78.7091)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BE8 #99E85B
analogous
#635BE8 #AA5BE8 #E85BDF
triadic
#AA5BE8 #E8AA5B #5BE8AA
tetradic
#AA5BE8 #E8635B #99E85B #5BDFE8
square
#AA5BE8 #E8635B #99E85B #5BDFE8
split-complementary
#AA5BE8 #DFE85B #5BE863
monochromatic
#6D19B0 #8E25E0 #AA5BE8 #C691F0 #E2C6F7

Accessibility & contrast

On white

3.91
#AA5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AA5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BE8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BE8#FFFFFF#000000##000000
##AA5BE81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#127EEC
Deuteranopia (green-blind)
#4281E5
Tritanopia (blue-blind)
#A07799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5be8;
/* rgb */ color: rgb(170, 91, 232);
/* oklch */ color: oklch(62.7% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#c78df0',
    500: '#aa5be8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5be8;
$custom-light: #c78df0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5be8",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 273.617,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.20927,
    "h": 307.2
  },
  "luminance": 0.21854
}

Semantic roles & 50–950 ramp

primary
#AA5BE8
secondary
#CCE9B6
accent
#D80E67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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