#AA45E4#AA45E4

#AA45E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.8% C 0.234 H 310.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AA45E4
RGBrgb(170, 69, 228)
HSLhsl(278, 75%, 58%)
HSVhsv(278, 70%, 89%)
CMYKcmyk(25.4%, 69.7%, 0%, 10.6%)
CIE-LABlab(49.98, 65.97, -63.03)
CIE-LCHlch(49.98, 91.24, 316.30°)
OKLaboklab(59.8% 0.1509 -0.1783)
OKLCHoklch(59.8% 0.234 310.2)
XYZxyz(32.7066, 18.4044, 75.2132)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45E4 #7FE445
analogous
#5A45E4 #AA45E4 #E445CF
triadic
#AA45E4 #E4AA45 #45E4AA
tetradic
#AA45E4 #E45A45 #7FE445 #45CFE4
square
#AA45E4 #E45A45 #7FE445 #45CFE4
split-complementary
#AA45E4 #CFE445 #45E45A
monochromatic
#691698 #8E1ECE #AA45E4 #C27AEC #DBB0F4

Accessibility & contrast

On white

4.49
#AA45E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AA45E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA45E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45E4#FFFFFF#000000##000000
##AA45E41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#2978E1
Tritanopia (blue-blind)
#A26890
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa45e4;
/* rgb */ color: rgb(170, 69, 228);
/* oklch */ color: oklch(59.8% 0.234 310.2);
Tailwind
colors: {
  custom: {
    50: '#c881ed',
    500: '#aa45e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa45e4;
$custom-light: #c881ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45e4",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 278.113,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.598,
    "c": 0.23362,
    "h": 310.2
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#AA45E4
secondary
#BAE2A3
accent
#F1377B
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA45E4

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

Preview Lab → · Contrast checker → · Palette generator →

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