#AA45CA#AA45CA

#AA45CA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.1% C 0.209 H 317.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA45CA
RGBrgb(170, 69, 202)
HSLhsl(286, 56%, 53%)
HSVhsv(286, 66%, 79%)
CMYKcmyk(15.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(48.35, 60.66, -50.82)
CIE-LCHlch(48.35, 79.14, 320.04°)
OKLaboklab(58.11% 0.153 -0.1425)
OKLCHoklch(58.11% 0.209 317)
XYZxyz(29.3648, 17.0677, 57.6133)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45CA #65CA45
analogous
#6745CA #AA45CA #CA45A7
triadic
#AA45CA #CAAA45 #45CAAA
tetradic
#AA45CA #CA6745 #65CA45 #45A7CA
square
#AA45CA #CA6745 #65CA45 #45A7CA
split-complementary
#AA45CA #A7CA45 #45CA67
monochromatic
#602174 #872FA3 #AA45CA #C075D8 #D6A4E5

Accessibility & contrast

On white

4.76
#AA45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AA45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45CA#FFFFFF#000000##FFFFFF
##AA45CA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096CCE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#A95E82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa45ca;
/* rgb */ color: rgb(170, 69, 202);
/* oklch */ color: oklch(58.1% 0.209 317.0);
Tailwind
colors: {
  custom: {
    50: '#c780db',
    500: '#aa45ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa45ca;
$custom-light: #c780db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45ca",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 285.564,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.2091,
    "h": 317
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#AA45CA
secondary
#A7D299
accent
#DF496D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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