#AA5FCA#AA5FCA

#AA5FCA is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.171 H 314.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA5FCA
RGBrgb(170, 95, 202)
HSLhsl(282, 50%, 58%)
HSVhsv(282, 53%, 79%)
CMYKcmyk(15.8%, 53%, 0%, 20.8%)
CIE-LABlab(52.94, 48.21, -43.51)
CIE-LCHlch(52.94, 64.94, 317.94°)
OKLaboklab(61.46% 0.1206 -0.1213)
OKLCHoklch(61.46% 0.171 314.8)
XYZxyz(31.3287, 20.9956, 58.2679)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FCA #7FCA5F
analogous
#745FCA #AA5FCA #CA5FB4
triadic
#AA5FCA #CAAA5F #5FCAAA
tetradic
#AA5FCA #CA745F #7FCA5F #5FB4CA
square
#AA5FCA #CA745F #7FCA5F #5FB4CA
split-complementary
#AA5FCA #B4CA5F #5FCA74
monochromatic
#692B83 #8E3BB1 #AA5FCA #C28DD9 #DBBBE8

Accessibility & contrast

On white

4.04
#AA5FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AA5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FCA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FCA#FFFFFF#000000##000000
##AA5FCA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#5E80C7
Tritanopia (blue-blind)
#A8708C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5fca;
/* rgb */ color: rgb(170, 95, 202);
/* oklch */ color: oklch(61.5% 0.171 314.8);
Tailwind
colors: {
  custom: {
    50: '#c68fda',
    500: '#aa5fca',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fca;
$custom-light: #c68fda;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fca",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 282.056,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.17109,
    "h": 314.8
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#AA5FCA
secondary
#BAD8AD
accent
#DA4E78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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