#AA5DCA#AA5DCA

#AA5DCA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.2% C 0.174 H 315.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AA5DCA
RGBrgb(170, 93, 202)
HSLhsl(282, 51%, 58%)
HSVhsv(282, 54%, 79%)
CMYKcmyk(15.8%, 54%, 0%, 20.8%)
CIE-LABlab(52.55, 49.24, -44.13)
CIE-LCHlch(52.55, 66.12, 318.14°)
OKLaboklab(61.17% 0.1233 -0.1231)
OKLCHoklch(61.17% 0.174 315)
XYZxyz(31.1509, 20.6399, 58.2086)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DCA #7DCA5D
analogous
#735DCA #AA5DCA #CA5DB4
triadic
#AA5DCA #CAAA5D #5DCAAA
tetradic
#AA5DCA #CA735D #7DCA5D #5DB4CA
square
#AA5DCA #CA735D #7DCA5D #5DB4CA
split-complementary
#AA5DCA #B4CA5D #5DCA73
monochromatic
#682B82 #8D3AB0 #AA5DCA #C28BD9 #DAB9E8

Accessibility & contrast

On white

4.10
#AA5DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AA5DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DCA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DCA#FFFFFF#000000##000000
##AA5DCA1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#5C80C7
Tritanopia (blue-blind)
#A86F8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa5dca;
/* rgb */ color: rgb(170, 93, 202);
/* oklch */ color: oklch(61.2% 0.174 315.0);
Tailwind
colors: {
  custom: {
    50: '#c68eda',
    500: '#aa5dca',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dca;
$custom-light: #c68eda;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dca",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 282.385,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.17425,
    "h": 315
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#AA5DCA
secondary
#B8D7AC
accent
#DA4E77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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