#AA5CDB#AA5CDB

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

Color values

HEX#AA5CDB
RGBrgb(170, 92, 219)
HSLhsl(277, 64%, 61%)
HSVhsv(277, 58%, 86%)
CMYKcmyk(22.4%, 58%, 0%, 14.1%)
CIE-LABlab(53.29, 53.41, -52.62)
CIE-LCHlch(53.29, 74.98, 315.43°)
OKLaboklab(62.01% 0.1254 -0.1479)
OKLCHoklch(62.01% 0.194 310.3)
XYZxyz(33.1885, 21.3155, 69.3701)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CDB #8DDB5C
analogous
#6A5CDB #AA5CDB #DB5CCD
triadic
#AA5CDB #DBAA5C #5CDBAA
tetradic
#AA5CDB #DB6A5C #8DDB5C #5CCDDB
square
#AA5CDB #DB6A5C #8DDB5C #5CCDDB
split-complementary
#AA5CDB #CDDB5C #5CDB6A
monochromatic
#6C229A #8F2DCD #AA5CDB #C48EE6 #DEC0F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5CDB#FFFFFF#000000##000000
##AA5CDB1.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)
#2F7CDF
Deuteranopia (green-blind)
#4F81D8
Tritanopia (blue-blind)
#A47393
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cdb;
/* rgb */ color: rgb(170, 92, 219);
/* oklch */ color: oklch(62.0% 0.194 310.3);
Tailwind
colors: {
  custom: {
    50: '#c68ee7',
    500: '#aa5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cdb;
$custom-light: #c68ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cdb",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 276.85,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.19393,
    "h": 310.3
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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