#AA5BDC#AA5BDC

#AA5BDC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.9% C 0.196 H 310.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AA5BDC
RGBrgb(170, 91, 220)
HSLhsl(277, 65%, 61%)
HSVhsv(277, 59%, 86%)
CMYKcmyk(22.7%, 58.6%, 0%, 13.7%)
CIE-LABlab(53.16, 54.13, -53.40)
CIE-LCHlch(53.16, 76.04, 315.39°)
OKLaboklab(61.93% 0.1267 -0.1502)
OKLCHoklch(61.93% 0.196 310.1)
XYZxyz(33.2345, 21.1962, 70.0368)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BDC #8DDC5B
analogous
#695BDC #AA5BDC #DC5BCD
triadic
#AA5BDC #DCAA5B #5BDCAA
tetradic
#AA5BDC #DC695B #8DDC5B #5BCDDC
square
#AA5BDC #DC695B #8DDC5B #5BCDDC
split-complementary
#AA5BDC #CDDC5B #5BDC69
monochromatic
#6C219B #8F2CCE #AA5BDC #C48DE7 #DEC0F2

Accessibility & contrast

On white

4.01
#AA5BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AA5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BDC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BDC#FFFFFF#000000##000000
##AA5BDC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BE0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#A37393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5bdc;
/* rgb */ color: rgb(170, 91, 220);
/* oklch */ color: oklch(61.9% 0.196 310.1);
Tailwind
colors: {
  custom: {
    50: '#c78de7',
    500: '#aa5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bdc;
$custom-light: #c78de7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bdc",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 276.744,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.19647,
    "h": 310.1
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#AA5BDC
secondary
#C4E2B1
accent
#CD195F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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