#AA45CD#AA45CD

#AA45CD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.212 H 316.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA45CD
RGBrgb(170, 69, 205)
HSLhsl(285, 58%, 54%)
HSVhsv(285, 66%, 80%)
CMYKcmyk(17.1%, 66.3%, 0%, 19.6%)
CIE-LABlab(48.53, 61.26, -52.26)
CIE-LCHlch(48.53, 80.52, 319.53°)
OKLaboklab(58.29% 0.1529 -0.1468)
OKLCHoklch(58.29% 0.212 316.2)
XYZxyz(29.7234, 17.2112, 59.5022)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45CD #68CD45
analogous
#6645CD #AA45CD #CD45AC
triadic
#AA45CD #CDAA45 #45CDAA
tetradic
#AA45CD #CD6645 #68CD45 #45ACCD
square
#AA45CD #CD6645 #68CD45 #45ACCD
split-complementary
#AA45CD #ACCD45 #45CD66
monochromatic
#612077 #882DA8 #AA45CD #C075DA #D6A5E7

Accessibility & contrast

On white

4.73
#AA45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AA45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45CD#FFFFFF#000000##FFFFFF
##AA45CD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#A85F83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa45cd;
/* rgb */ color: rgb(170, 69, 205);
/* oklch */ color: oklch(58.3% 0.212 316.2);
Tailwind
colors: {
  custom: {
    50: '#c780dd',
    500: '#aa45cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa45cd;
$custom-light: #c780dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45cd",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 284.559,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.21191,
    "h": 316.2
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#AA45CD
secondary
#A9D49A
accent
#E1476F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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