#AA5BDD#AA5BDD

#AA5BDD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 62.0% C 0.198 H 309.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AA5BDD
RGBrgb(170, 91, 221)
HSLhsl(276, 66%, 61%)
HSVhsv(276, 59%, 87%)
CMYKcmyk(23.1%, 58.8%, 0%, 13.3%)
CIE-LABlab(53.22, 54.35, -53.87)
CIE-LCHlch(53.22, 76.53, 315.26°)
OKLaboklab(62% 0.1267 -0.1516)
OKLCHoklch(62% 0.198 309.9)
XYZxyz(33.3673, 21.2493, 70.7363)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BDD #8EDD5B
analogous
#695BDD #AA5BDD #DD5BCF
triadic
#AA5BDD #DDAA5B #5BDDAA
tetradic
#AA5BDD #DD695B #8EDD5B #5BCFDD
square
#AA5BDD #DD695B #8EDD5B #5BCFDD
split-complementary
#AA5BDD #CFDD5B #5BDD69
monochromatic
#6C219D #8F2BD0 #AA5BDD #C48EE8 #DFC0F2

Accessibility & contrast

On white

4.00
#AA5BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AA5BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BDD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BDD#FFFFFF#000000##000000
##AA5BDD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#A37394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5bdd;
/* rgb */ color: rgb(170, 91, 221);
/* oklch */ color: oklch(62.0% 0.198 309.9);
Tailwind
colors: {
  custom: {
    50: '#c78de8',
    500: '#aa5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bdd;
$custom-light: #c78de8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bdd",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 276.462,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.19753,
    "h": 309.9
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#AA5BDD
secondary
#C5E2B1
accent
#CE185F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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