#AA45C8#AA45C8

#AA45C8 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.207 H 317.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA45C8
RGBrgb(170, 69, 200)
HSLhsl(286, 54%, 53%)
HSVhsv(286, 66%, 78%)
CMYKcmyk(15%, 65.5%, 0%, 21.6%)
CIE-LABlab(48.23, 60.27, -49.86)
CIE-LCHlch(48.23, 78.22, 320.40°)
OKLaboklab(57.98% 0.153 -0.1397)
OKLCHoklch(57.98% 0.207 317.6)
XYZxyz(29.1295, 16.9736, 56.3742)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45C8 #63C845
analogous
#6945C8 #AA45C8 #C845A4
triadic
#AA45C8 #C8AA45 #45C8AA
tetradic
#AA45C8 #C86945 #63C845 #45A4C8
square
#AA45C8 #C86945 #63C845 #45A4C8
split-complementary
#AA45C8 #A4C845 #45C869
monochromatic
#5F2171 #872FA0 #AA45C8 #C074D6 #D5A3E4

Accessibility & contrast

On white

4.78
#AA45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45C8#FFFFFF#000000##FFFFFF
##AA45C81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#A95D81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa45c8;
/* rgb */ color: rgb(170, 69, 200);
/* oklch */ color: oklch(58.0% 0.207 317.6);
Tailwind
colors: {
  custom: {
    50: '#c780d9',
    500: '#aa45c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa45c8;
$custom-light: #c780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45c8",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 286.26,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.20723,
    "h": 317.6
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#AA45C8
secondary
#A5D198
accent
#DE4A6C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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