#AA5FCF#AA5FCF

#AA5FCF is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.7% C 0.176 H 313.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AA5FCF
RGBrgb(170, 95, 207)
HSLhsl(280, 54%, 59%)
HSVhsv(280, 54%, 81%)
CMYKcmyk(17.9%, 54.1%, 0%, 18.8%)
CIE-LABlab(53.21, 49.28, -45.94)
CIE-LCHlch(53.21, 67.37, 317.00°)
OKLaboklab(61.73% 0.121 -0.1284)
OKLCHoklch(61.73% 0.176 313.3)
XYZxyz(31.9304, 21.2363, 61.4364)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FCF #84CF5F
analogous
#725FCF #AA5FCF #CF5FBC
triadic
#AA5FCF #CFAA5F #5FCFAA
tetradic
#AA5FCF #CF725F #84CF5F #5FBCCF
square
#AA5FCF #CF725F #84CF5F #5FBCCF
split-complementary
#AA5FCF #BCCF5F #5FCF72
monochromatic
#6A298A #8E38B9 #AA5FCF #C38EDD #DCBDEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FCF#FFFFFF#000000##000000
##AA5FCF1.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)
#427BD3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#A7728E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5fcf;
/* rgb */ color: rgb(170, 95, 207);
/* oklch */ color: oklch(61.7% 0.176 313.3);
Tailwind
colors: {
  custom: {
    50: '#c68fde',
    500: '#aa5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fcf;
$custom-light: #c68fde;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fcf",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 280.179,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.17647,
    "h": 313.3
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#AA5FCF
secondary
#BDDBAF
accent
#DD4B7B
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AA5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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