#AA45CF#AA45CF

#AA45CF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.214 H 315.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AA45CF
RGBrgb(170, 69, 207)
HSLhsl(284, 59%, 54%)
HSVhsv(284, 67%, 81%)
CMYKcmyk(17.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(48.65, 61.66, -53.22)
CIE-LCHlch(48.65, 81.45, 319.20°)
OKLaboklab(58.42% 0.1528 -0.1496)
OKLCHoklch(58.42% 0.214 315.6)
XYZxyz(29.9664, 17.3084, 60.7817)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45CF #6ACF45
analogous
#6545CF #AA45CF #CF45AF
triadic
#AA45CF #CFAA45 #45CFAA
tetradic
#AA45CF #CF6545 #6ACF45 #45AFCF
square
#AA45CF #CF6545 #6ACF45 #45AFCF
split-complementary
#AA45CF #AFCF45 #45CF65
monochromatic
#62207A #892CAB #AA45CF #C076DC #D6A6E8

Accessibility & contrast

On white

4.71
#AA45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AA45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45CF#FFFFFF#000000##FFFFFF
##AA45CF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#A76085
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa45cf;
/* rgb */ color: rgb(170, 69, 207);
/* oklch */ color: oklch(58.4% 0.214 315.6);
Tailwind
colors: {
  custom: {
    50: '#c780de',
    500: '#aa45cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa45cf;
$custom-light: #c780de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45cf",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 283.913,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.21378,
    "h": 315.6
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#AA45CF
secondary
#AAD59B
accent
#E24670
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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