#AA5BED#AA5BED

#AA5BED is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.215 H 306.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AA5BED
RGBrgb(170, 91, 237)
HSLhsl(272, 80%, 64%)
HSVhsv(272, 62%, 93%)
CMYKcmyk(28.3%, 61.6%, 0%, 7.1%)
CIE-LABlab(54.18, 57.93, -61.34)
CIE-LCHlch(54.18, 84.37, 313.36°)
OKLaboklab(63% 0.1264 -0.1735)
OKLCHoklch(63% 0.215 306.1)
XYZxyz(35.6014, 22.1430, 82.5028)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BED #9EED5B
analogous
#615BED #AA5BED #ED5BE7
triadic
#AA5BED #EDAA5B #5BEDAA
tetradic
#AA5BED #ED615B #9EED5B #5BE7ED
square
#AA5BED #ED615B #9EED5B #5BE7ED
split-complementary
#AA5BED #E7ED5B #5BED61
monochromatic
#6E14B9 #8D24E7 #AA5BED #C792F3 #E3C9F9

Accessibility & contrast

On white

3.87
#AA5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AA5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BED
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BED#FFFFFF#000000##000000
##AA5BED1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3C82EA
Tritanopia (blue-blind)
#9F799C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5bed;
/* rgb */ color: rgb(170, 91, 237);
/* oklch */ color: oklch(63.0% 0.215 306.1);
Tailwind
colors: {
  custom: {
    50: '#c78df4',
    500: '#aa5bed',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bed;
$custom-light: #c78df4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bed",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 272.466,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.21462,
    "h": 306.1
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#AA5BED
secondary
#D0EBB9
accent
#DD096A
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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