#AA5BEA#AA5BEA

#AA5BEA is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.211 H 306.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA5BEA
RGBrgb(170, 91, 234)
HSLhsl(273, 77%, 64%)
HSVhsv(273, 61%, 92%)
CMYKcmyk(27.4%, 61.1%, 0%, 8.2%)
CIE-LABlab(53.99, 57.25, -59.95)
CIE-LCHlch(53.99, 82.90, 313.68°)
OKLaboklab(62.81% 0.1265 -0.1694)
OKLCHoklch(62.81% 0.211 306.7)
XYZxyz(35.1668, 21.9691, 80.2138)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BEA #9BEA5B
analogous
#625BEA #AA5BEA #EA5BE2
triadic
#AA5BEA #EAAA5B #5BEAAA
tetradic
#AA5BEA #EA625B #9BEA5B #5BE2EA
square
#AA5BEA #EA625B #9BEA5B #5BE2EA
split-complementary
#AA5BEA #E2EA5B #5BEA62
monochromatic
#6E17B4 #8E25E3 #AA5BEA #C691F1 #E2C8F8

Accessibility & contrast

On white

3.89
#AA5BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AA5BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BEA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BEA#FFFFFF#000000##000000
##AA5BEA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#097EEE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#A0789A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5bea;
/* rgb */ color: rgb(170, 91, 234);
/* oklch */ color: oklch(62.8% 0.211 306.7);
Tailwind
colors: {
  custom: {
    50: '#c78df1',
    500: '#aa5bea',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bea;
$custom-light: #c78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bea",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 273.147,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.21141,
    "h": 306.7
  },
  "luminance": 0.21969
}

Semantic roles & 50–950 ramp

primary
#AA5BEA
secondary
#CEEAB7
accent
#DA0C68
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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