#AA45E8#AA45E8

#AA45E8 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.1% C 0.237 H 309.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA45E8
RGBrgb(170, 69, 232)
HSLhsl(277, 78%, 59%)
HSVhsv(277, 70%, 91%)
CMYKcmyk(26.7%, 70.3%, 0%, 9%)
CIE-LABlab(50.25, 66.81, -64.86)
CIE-LCHlch(50.25, 93.11, 315.85°)
OKLaboklab(60.08% 0.1504 -0.1837)
OKLCHoklch(60.08% 0.237 309.3)
XYZxyz(33.2683, 18.6291, 78.1715)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45E8 #83E845
analogous
#5945E8 #AA45E8 #E845D4
triadic
#AA45E8 #E8AA45 #45E8AA
tetradic
#AA45E8 #E85945 #83E845 #45D4E8
square
#AA45E8 #E85945 #83E845 #45D4E8
split-complementary
#AA45E8 #D4E845 #45E859
monochromatic
#6A149F #8E1AD5 #AA45E8 #C37BEF #DCB2F5

Accessibility & contrast

On white

4.44
#AA45E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA45E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA45E8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45E8#FFFFFF#000000##000000
##AA45E81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#A16A92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa45e8;
/* rgb */ color: rgb(170, 69, 232);
/* oklch */ color: oklch(60.1% 0.237 309.3);
Tailwind
colors: {
  custom: {
    50: '#c881f0',
    500: '#aa45e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa45e8;
$custom-light: #c881f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45e8",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 277.178,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60075,
    "c": 0.23742,
    "h": 309.3
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#AA45E8
secondary
#BDE4A4
accent
#F4337D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA45E8

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

Preview Lab → · Contrast checker → · Palette generator →

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