#AA45BF#AA45BF

#AA45BF is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.199 H 320.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA45BF
RGBrgb(170, 69, 191)
HSLhsl(290, 49%, 51%)
HSVhsv(290, 64%, 75%)
CMYKcmyk(11%, 63.9%, 0%, 25.1%)
CIE-LABlab(47.71, 58.52, -45.48)
CIE-LCHlch(47.71, 74.11, 322.15°)
OKLaboklab(57.44% 0.1532 -0.1269)
OKLCHoklch(57.44% 0.199 320.3)
XYZxyz(28.1085, 16.5652, 50.9969)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45BF #5ABF45
analogous
#6D45BF #AA45BF #BF4597
triadic
#AA45BF #BFAA45 #45BFAA
tetradic
#AA45BF #BF6D45 #5ABF45 #4597BF
square
#AA45BF #BF6D45 #5ABF45 #4597BF
split-complementary
#AA45BF #97BF45 #45BF6D
monochromatic
#5B2366 #833394 #AA45BF #BF73CF #D4A0DE

Accessibility & contrast

On white

4.87
#AA45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AA45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45BF#FFFFFF#000000##FFFFFF
##AA45BF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#AB597C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa45bf;
/* rgb */ color: rgb(170, 69, 191);
/* oklch */ color: oklch(57.4% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#c67fd3',
    500: '#aa45bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa45bf;
$custom-light: #c67fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45bf",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 289.672,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.19891,
    "h": 320.3
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#AA45BF
secondary
#9ECB95
accent
#D84F67
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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