#AA45BC#AA45BC

#AA45BC is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.3% C 0.196 H 321.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA45BC
RGBrgb(170, 69, 188)
HSLhsl(291, 47%, 50%)
HSVhsv(291, 63%, 74%)
CMYKcmyk(9.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(47.54, 57.95, -44.00)
CIE-LCHlch(47.54, 72.76, 322.79°)
OKLaboklab(57.26% 0.1531 -0.1226)
OKLCHoklch(57.26% 0.196 321.3)
XYZxyz(27.7818, 16.4345, 49.2760)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45BC #57BC45
analogous
#6E45BC #AA45BC #BC4593
triadic
#AA45BC #BCAA45 #45BCAA
tetradic
#AA45BC #BC6E45 #57BC45 #4593BC
square
#AA45BC #BC6E45 #57BC45 #4593BC
split-complementary
#AA45BC #93BC45 #45BC6E
monochromatic
#592463 #823490 #AA45BC #BF72CC #D39FDC

Accessibility & contrast

On white

4.90
#AA45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AA45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45BC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45BC#FFFFFF#000000##FFFFFF
##AA45BC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#AC587A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa45bc;
/* rgb */ color: rgb(170, 69, 188);
/* oklch */ color: oklch(57.3% 0.196 321.3);
Tailwind
colors: {
  custom: {
    50: '#c67fd1',
    500: '#aa45bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa45bc;
$custom-light: #c67fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45bc",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 290.924,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.19616,
    "h": 321.3
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#AA45BC
secondary
#9CC994
accent
#D75165
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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