#AA54CF#AA54CF

#AA54CF is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.193 H 314.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AA54CF
RGBrgb(170, 84, 207)
HSLhsl(282, 56%, 57%)
HSVhsv(282, 59%, 81%)
CMYKcmyk(17.9%, 59.4%, 0%, 18.8%)
CIE-LABlab(51.14, 54.79, -49.23)
CIE-LCHlch(51.14, 73.66, 318.06°)
OKLaboklab(60.22% 0.1352 -0.138)
OKLCHoklch(60.22% 0.193 314.4)
XYZxyz(31.0085, 19.3926, 61.1291)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54CF #79CF54
analogous
#6D54CF #AA54CF #CF54B7
triadic
#AA54CF #CFAA54 #54CFAA
tetradic
#AA54CF #CF6D54 #79CF54 #54B7CF
square
#AA54CF #CF6D54 #79CF54 #54B7CF
split-complementary
#AA54CF #B7CF54 #54CF6D
monochromatic
#672584 #8D32B3 #AA54CF #C284DC #DAB4EA

Accessibility & contrast

On white

4.30
#AA54CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AA54CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54CF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54CF#FFFFFF#000000##000000
##AA54CF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#A76A8A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa54cf;
/* rgb */ color: rgb(170, 84, 207);
/* oklch */ color: oklch(60.2% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#c688de',
    500: '#aa54cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa54cf;
$custom-light: #c688de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54cf",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 281.951,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.19314,
    "h": 314.4
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#AA54CF
secondary
#B5D8A6
accent
#DF4876
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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