#AA45CC#AA45CC

#AA45CC is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.211 H 316.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AA45CC
RGBrgb(170, 69, 204)
HSLhsl(285, 57%, 54%)
HSVhsv(285, 66%, 80%)
CMYKcmyk(16.7%, 66.2%, 0%, 20%)
CIE-LABlab(48.46, 61.06, -51.78)
CIE-LCHlch(48.46, 80.06, 319.70°)
OKLaboklab(58.23% 0.1529 -0.1454)
OKLCHoklch(58.23% 0.211 316.4)
XYZxyz(29.6031, 17.1631, 58.8685)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45CC #67CC45
analogous
#6645CC #AA45CC #CC45AA
triadic
#AA45CC #CCAA45 #45CCAA
tetradic
#AA45CC #CC6645 #67CC45 #45AACC
square
#AA45CC #CC6645 #67CC45 #45AACC
split-complementary
#AA45CC #AACC45 #45CC66
monochromatic
#612076 #882EA6 #AA45CC #C075D9 #D6A5E6

Accessibility & contrast

On white

4.74
#AA45CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AA45CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45CC#FFFFFF#000000##FFFFFF
##AA45CC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#A85E83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa45cc;
/* rgb */ color: rgb(170, 69, 204);
/* oklch */ color: oklch(58.2% 0.211 316.4);
Tailwind
colors: {
  custom: {
    50: '#c780dc',
    500: '#aa45cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa45cc;
$custom-light: #c780dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45cc",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 284.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.21097,
    "h": 316.4
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#AA45CC
secondary
#A8D399
accent
#E0486E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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