#AA5BDE#AA5BDE

#AA5BDE is a light, vivid violet. Relative luminance 0.213; OKLCH L 62.1% C 0.199 H 309.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA5BDE
RGBrgb(170, 91, 222)
HSLhsl(276, 66%, 61%)
HSVhsv(276, 59%, 87%)
CMYKcmyk(23.4%, 59%, 0%, 12.9%)
CIE-LABlab(53.28, 54.57, -54.34)
CIE-LCHlch(53.28, 77.02, 315.12°)
OKLaboklab(62.06% 0.1267 -0.153)
OKLCHoklch(62.06% 0.199 309.6)
XYZxyz(33.5009, 21.3027, 71.4401)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BDE #8FDE5B
analogous
#695BDE #AA5BDE #DE5BD1
triadic
#AA5BDE #DEAA5B #5BDEAA
tetradic
#AA5BDE #DE695B #8FDE5B #5BD1DE
square
#AA5BDE #DE695B #8FDE5B #5BD1DE
split-complementary
#AA5BDE #D1DE5B #5BDE69
monochromatic
#6C209F #8F2AD2 #AA5BDE #C48EE8 #DFC1F3

Accessibility & contrast

On white

3.99
#AA5BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AA5BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BDE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BDE#FFFFFF#000000##000000
##AA5BDE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE2
Deuteranopia (green-blind)
#4B80DB
Tritanopia (blue-blind)
#A37494
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5bde;
/* rgb */ color: rgb(170, 91, 222);
/* oklch */ color: oklch(62.1% 0.199 309.6);
Tailwind
colors: {
  custom: {
    50: '#c78de9',
    500: '#aa5bde',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bde;
$custom-light: #c78de9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bde",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 276.183,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62056,
    "c": 0.1986,
    "h": 309.6
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

primary
#AA5BDE
secondary
#C5E3B2
accent
#CE1760
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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