#AA5CDA#AA5CDA

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

Color values

HEX#AA5CDA
RGBrgb(170, 92, 218)
HSLhsl(277, 63%, 61%)
HSVhsv(277, 58%, 85%)
CMYKcmyk(22%, 57.8%, 0%, 14.5%)
CIE-LABlab(53.24, 53.19, -52.15)
CIE-LCHlch(53.24, 74.49, 315.57°)
OKLaboklab(61.95% 0.1254 -0.1466)
OKLCHoklch(61.95% 0.193 310.5)
XYZxyz(33.0572, 21.2630, 68.6788)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CDA #8CDA5C
analogous
#6B5CDA #AA5CDA #DA5CCB
triadic
#AA5CDA #DAAA5C #5CDAAA
tetradic
#AA5CDA #DA6B5C #8CDA5C #5CCBDA
square
#AA5CDA #DA6B5C #8CDA5C #5CCBDA
split-complementary
#AA5CDA #CBDA5C #5CDA6B
monochromatic
#6C2399 #8F2ECB #AA5CDA #C48EE5 #DEC0F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5CDA#FFFFFF#000000##000000
##AA5CDA1.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)
#317BDE
Deuteranopia (green-blind)
#5081D7
Tritanopia (blue-blind)
#A47392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cda;
/* rgb */ color: rgb(170, 92, 218);
/* oklch */ color: oklch(62.0% 0.193 310.5);
Tailwind
colors: {
  custom: {
    50: '#c68ee6',
    500: '#aa5cda',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cda;
$custom-light: #c68ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cda",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 277.143,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.19286,
    "h": 310.5
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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