#AA5FCD#AA5FCD

#AA5FCD is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.174 H 313.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA5FCD
RGBrgb(170, 95, 205)
HSLhsl(281, 52%, 59%)
HSVhsv(281, 54%, 80%)
CMYKcmyk(17.1%, 53.7%, 0%, 19.6%)
CIE-LABlab(53.10, 48.85, -44.97)
CIE-LCHlch(53.10, 66.40, 317.37°)
OKLaboklab(61.62% 0.1209 -0.1256)
OKLCHoklch(61.62% 0.174 313.9)
XYZxyz(31.6874, 21.1391, 60.1568)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FCD #82CD5F
analogous
#735FCD #AA5FCD #CD5FB9
triadic
#AA5FCD #CDAA5F #5FCDAA
tetradic
#AA5FCD #CD735F #82CD5F #5FB9CD
square
#AA5FCD #CD735F #82CD5F #5FB9CD
split-complementary
#AA5FCD #B9CD5F #5FCD73
monochromatic
#6A2A87 #8E39B6 #AA5FCD #C38EDC #DCBCEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FCD#FFFFFF#000000##000000
##AA5FCD1.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)
#437BD1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#A7718D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5fcd;
/* rgb */ color: rgb(170, 95, 205);
/* oklch */ color: oklch(61.6% 0.174 313.9);
Tailwind
colors: {
  custom: {
    50: '#c68fdd',
    500: '#aa5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fcd;
$custom-light: #c68fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fcd",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 280.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.17431,
    "h": 313.9
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#AA5FCD
secondary
#BCDAAE
accent
#DC4C7A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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