#AA55CC#AA55CC

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

Color values

HEX#AA55CC
RGBrgb(170, 85, 204)
HSLhsl(283, 54%, 57%)
HSVhsv(283, 58%, 80%)
CMYKcmyk(16.7%, 58.3%, 0%, 20%)
CIE-LABlab(51.16, 53.68, -47.49)
CIE-LCHlch(51.16, 71.67, 318.50°)
OKLaboklab(60.18% 0.1338 -0.1329)
OKLCHoklch(60.18% 0.189 315.2)
XYZxyz(30.7234, 19.4037, 59.2419)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA55CC #77CC55
analogous
#6F55CC #AA55CC #CC55B3
triadic
#AA55CC #CCAA55 #55CCAA
tetradic
#AA55CC #CC6F55 #77CC55 #55B3CC
square
#AA55CC #CC6F55 #77CC55 #55B3CC
split-complementary
#AA55CC #B3CC55 #55CC6F
monochromatic
#672680 #8C35AF #AA55CC #C284DA #D9B3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA55CC#FFFFFF#000000##000000
##AA55CC1.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)
#3375D0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#A86989
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa55cc;
/* rgb */ color: rgb(170, 85, 204);
/* oklch */ color: oklch(60.2% 0.189 315.2);
Tailwind
colors: {
  custom: {
    50: '#c689dc',
    500: '#aa55cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa55cc;
$custom-light: #c689dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa55cc",
  "rgb": {
    "r": 170,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 282.857,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.18861,
    "h": 315.2
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#AA55CC
secondary
#B4D7A6
accent
#DD4B74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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