#AA45CB#AA45CB

#AA45CB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.210 H 316.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AA45CB
RGBrgb(170, 69, 203)
HSLhsl(285, 56%, 53%)
HSVhsv(285, 66%, 80%)
CMYKcmyk(16.3%, 66%, 0%, 20.4%)
CIE-LABlab(48.40, 60.86, -51.31)
CIE-LCHlch(48.40, 79.60, 319.87°)
OKLaboklab(58.17% 0.1529 -0.1439)
OKLCHoklch(58.17% 0.21 316.7)
XYZxyz(29.4836, 17.1152, 58.2388)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45CB #66CB45
analogous
#6745CB #AA45CB #CB45A9
triadic
#AA45CB #CBAA45 #45CBAA
tetradic
#AA45CB #CB6745 #66CB45 #45A9CB
square
#AA45CB #CB6745 #66CB45 #45A9CB
split-complementary
#AA45CB #A9CB45 #45CB67
monochromatic
#602175 #882EA5 #AA45CB #C075D8 #D6A5E6

Accessibility & contrast

On white

4.75
#AA45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AA45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45CB#FFFFFF#000000##FFFFFF
##AA45CB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056DCF
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#A85E82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa45cb;
/* rgb */ color: rgb(170, 69, 203);
/* oklch */ color: oklch(58.2% 0.210 316.7);
Tailwind
colors: {
  custom: {
    50: '#c780db',
    500: '#aa45cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa45cb;
$custom-light: #c780db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45cb",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 285.224,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.21003,
    "h": 316.7
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#AA45CB
secondary
#A7D399
accent
#E0486D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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