#AA45E1#AA45E1

#AA45E1 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.6% C 0.231 H 310.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AA45E1
RGBrgb(170, 69, 225)
HSLhsl(279, 72%, 58%)
HSVhsv(279, 69%, 88%)
CMYKcmyk(24.4%, 69.3%, 0%, 11.8%)
CIE-LABlab(49.79, 65.34, -61.65)
CIE-LCHlch(49.79, 89.84, 316.66°)
OKLaboklab(59.6% 0.1512 -0.1743)
OKLCHoklch(59.6% 0.231 310.9)
XYZxyz(32.2937, 18.2393, 73.0389)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45E1 #7CE145
analogous
#5C45E1 #AA45E1 #E145CA
triadic
#AA45E1 #E1AA45 #45E1AA
tetradic
#AA45E1 #E15C45 #7CE145 #45CAE1
square
#AA45E1 #E15C45 #7CE145 #45CAE1
split-complementary
#AA45E1 #CAE145 #45E15C
monochromatic
#681894 #8D20C8 #AA45E1 #C27AE9 #DAAEF2

Accessibility & contrast

On white

4.52
#AA45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AA45E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA45E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45E1#FFFFFF#000000##000000
##AA45E11.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2E78DE
Tritanopia (blue-blind)
#A3678E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa45e1;
/* rgb */ color: rgb(170, 69, 225);
/* oklch */ color: oklch(59.6% 0.231 310.9);
Tailwind
colors: {
  custom: {
    50: '#c881eb',
    500: '#aa45e1',
    950: '#000000',
  },
}
SCSS
$custom: #aa45e1;
$custom-light: #c881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45e1",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 278.846,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.23077,
    "h": 310.9
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#AA45E1
secondary
#B8E0A2
accent
#EF3979
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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