#AA5DCF#AA5DCF

#AA5DCF is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.4% C 0.180 H 313.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA5DCF
RGBrgb(170, 93, 207)
HSLhsl(281, 54%, 59%)
HSVhsv(281, 55%, 81%)
CMYKcmyk(17.9%, 55.1%, 0%, 18.8%)
CIE-LABlab(52.82, 50.30, -46.56)
CIE-LCHlch(52.82, 68.55, 317.21°)
OKLaboklab(61.45% 0.1236 -0.1302)
OKLCHoklch(61.45% 0.18 313.5)
XYZxyz(31.7525, 20.8806, 61.3771)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DCF #82CF5D
analogous
#715DCF #AA5DCF #CF5DBB
triadic
#AA5DCF #CFAA5D #5DCFAA
tetradic
#AA5DCF #CF715D #82CF5D #5DBBCF
square
#AA5DCF #CF715D #82CF5D #5DBBCF
split-complementary
#AA5DCF #BBCF5D #5DCF71
monochromatic
#6A2989 #8E37B8 #AA5DCF #C38CDD #DCBBEB

Accessibility & contrast

On white

4.06
#AA5DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AA5DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DCF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DCF#FFFFFF#000000##000000
##AA5DCF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#A7708D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5dcf;
/* rgb */ color: rgb(170, 93, 207);
/* oklch */ color: oklch(61.4% 0.180 313.5);
Tailwind
colors: {
  custom: {
    50: '#c68ede',
    500: '#aa5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dcf;
$custom-light: #c68ede;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dcf",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 280.526,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.17957,
    "h": 313.5
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

primary
#AA5DCF
secondary
#BCDAAD
accent
#DE4A7A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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