#AA5ECF#AA5ECF

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

Color values

HEX#AA5ECF
RGBrgb(170, 94, 207)
HSLhsl(280, 54%, 59%)
HSVhsv(280, 55%, 81%)
CMYKcmyk(17.9%, 54.6%, 0%, 18.8%)
CIE-LABlab(53.01, 49.79, -46.25)
CIE-LCHlch(53.01, 67.96, 317.11°)
OKLaboklab(61.59% 0.1223 -0.1293)
OKLCHoklch(61.59% 0.178 313.4)
XYZxyz(31.8409, 21.0573, 61.4065)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ECF #83CF5E
analogous
#725ECF #AA5ECF #CF5EBC
triadic
#AA5ECF #CFAA5E #5ECFAA
tetradic
#AA5ECF #CF725E #83CF5E #5EBCCF
square
#AA5ECF #CF725E #83CF5E #5EBCCF
split-complementary
#AA5ECF #BCCF5E #5ECF72
monochromatic
#6A298A #8E37B9 #AA5ECF #C38DDD #DCBCEB

Accessibility & contrast

On white

4.03
#AA5ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA5ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ECF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ECF#FFFFFF#000000##000000
##AA5ECF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#A7718E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5ecf;
/* rgb */ color: rgb(170, 94, 207);
/* oklch */ color: oklch(61.6% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#c68fde',
    500: '#aa5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ecf;
$custom-light: #c68fde;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ecf",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 280.354,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61591,
    "c": 0.17802,
    "h": 313.4
  },
  "luminance": 0.21056
}

Semantic roles & 50–950 ramp

primary
#AA5ECF
secondary
#BDDBAE
accent
#DD4A7B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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