#AA5BDB#AA5BDB

#AA5BDB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.9% C 0.195 H 310.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA5BDB
RGBrgb(170, 91, 219)
HSLhsl(277, 64%, 61%)
HSVhsv(277, 58%, 86%)
CMYKcmyk(22.4%, 58.4%, 0%, 14.1%)
CIE-LABlab(53.11, 53.91, -52.92)
CIE-LCHlch(53.11, 75.55, 315.53°)
OKLaboklab(61.87% 0.1266 -0.1488)
OKLCHoklch(61.87% 0.195 310.4)
XYZxyz(33.1024, 21.1434, 69.3414)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BDB #8CDB5B
analogous
#6A5BDB #AA5BDB #DB5BCC
triadic
#AA5BDB #DBAA5B #5BDBAA
tetradic
#AA5BDB #DB6A5B #8CDB5B #5BCCDB
square
#AA5BDB #DB6A5B #8CDB5B #5BCCDB
split-complementary
#AA5BDB #CCDB5B #5BDB6A
monochromatic
#6C229A #8F2DCC #AA5BDB #C48DE6 #DEBFF1

Accessibility & contrast

On white

4.02
#AA5BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AA5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BDB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BDB#FFFFFF#000000##000000
##AA5BDB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#A47392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5bdb;
/* rgb */ color: rgb(170, 91, 219);
/* oklch */ color: oklch(61.9% 0.195 310.4);
Tailwind
colors: {
  custom: {
    50: '#c68de7',
    500: '#aa5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bdb;
$custom-light: #c68de7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bdb",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 277.031,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.1954,
    "h": 310.4
  },
  "luminance": 0.21143
}

Semantic roles & 50–950 ramp

primary
#AA5BDB
secondary
#C3E1B1
accent
#CC1A5E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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