#AA34CC#AA34CC

#AA34CC is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.231 H 317.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA34CC
RGBrgb(170, 52, 204)
HSLhsl(287, 60%, 50%)
HSVhsv(287, 75%, 80%)
CMYKcmyk(16.7%, 74.5%, 0%, 20%)
CIE-LABlab(46.13, 67.66, -55.54)
CIE-LCHlch(46.13, 87.54, 320.62°)
OKLaboklab(56.56% 0.17 -0.1562)
OKLCHoklch(56.56% 0.231 317.4)
XYZxyz(28.7030, 15.3629, 58.5684)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA34CC #56CC34
analogous
#5E34CC #AA34CC #CC34A2
triadic
#AA34CC #CCAA34 #34CCAA
tetradic
#AA34CC #CC5E34 #56CC34 #34A2CC
square
#AA34CC #CC5E34 #56CC34 #34A2CC
split-complementary
#AA34CC #A2CC34 #34CC5E
monochromatic
#591B6B #82279C #AA34CC #BE65D8 #D396E5

Accessibility & contrast

On white

5.16
#AA34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AA34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA34CC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA34CC#FFFFFF#000000##FFFFFF
##AA34CC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#A8547E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa34cc;
/* rgb */ color: rgb(170, 52, 204);
/* oklch */ color: oklch(56.6% 0.231 317.4);
Tailwind
colors: {
  custom: {
    50: '#c878dc',
    500: '#aa34cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa34cc;
$custom-light: #c878dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa34cc",
  "rgb": {
    "r": 170,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 286.579,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.23086,
    "h": 317.4
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#AA34CC
secondary
#9BD08C
accent
#E34568
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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