#AA45E5#AA45E5

#AA45E5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.9% C 0.235 H 310.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AA45E5
RGBrgb(170, 69, 229)
HSLhsl(278, 75%, 58%)
HSVhsv(278, 70%, 90%)
CMYKcmyk(25.8%, 69.9%, 0%, 10.2%)
CIE-LABlab(50.05, 66.18, -63.49)
CIE-LCHlch(50.05, 91.71, 316.19°)
OKLaboklab(59.87% 0.1508 -0.1797)
OKLCHoklch(59.87% 0.235 310)
XYZxyz(32.8458, 18.4601, 75.9464)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45E5 #80E545
analogous
#5A45E5 #AA45E5 #E545D0
triadic
#AA45E5 #E5AA45 #45E5AA
tetradic
#AA45E5 #E55A45 #80E545 #45D0E5
square
#AA45E5 #E55A45 #80E545 #45D0E5
split-complementary
#AA45E5 #D0E545 #45E55A
monochromatic
#69169A #8E1DD0 #AA45E5 #C37BED #DBB0F4

Accessibility & contrast

On white

4.48
#AA45E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AA45E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA45E5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45E5#FFFFFF#000000##000000
##AA45E51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2779E2
Tritanopia (blue-blind)
#A26891
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa45e5;
/* rgb */ color: rgb(170, 69, 229);
/* oklch */ color: oklch(59.9% 0.235 310.0);
Tailwind
colors: {
  custom: {
    50: '#c881ee',
    500: '#aa45e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa45e5;
$custom-light: #c881ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45e5",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 277.875,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.23457,
    "h": 310
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#AA45E5
secondary
#BBE3A3
accent
#F2367B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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