#AA45E6#AA45E6

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

Color values

HEX#AA45E6
RGBrgb(170, 69, 230)
HSLhsl(278, 76%, 59%)
HSVhsv(278, 70%, 90%)
CMYKcmyk(26.1%, 70%, 0%, 9.8%)
CIE-LABlab(50.12, 66.39, -63.95)
CIE-LCHlch(50.12, 92.18, 316.07°)
OKLaboklab(59.94% 0.1506 -0.181)
OKLCHoklch(59.94% 0.236 309.8)
XYZxyz(32.9858, 18.5161, 76.6839)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45E6 #81E645
analogous
#5945E6 #AA45E6 #E645D1
triadic
#AA45E6 #E6AA45 #45E6AA
tetradic
#AA45E6 #E65945 #81E645 #45D1E6
square
#AA45E6 #E65945 #81E645 #45D1E6
split-complementary
#AA45E6 #D1E645 #45E659
monochromatic
#69159C #8E1CD2 #AA45E6 #C37BED #DBB1F5

Accessibility & contrast

On white

4.47
#AA45E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AA45E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA45E6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45E6#FFFFFF#000000##000000
##AA45E61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#2579E3
Tritanopia (blue-blind)
#A16991
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa45e6;
/* rgb */ color: rgb(170, 69, 230);
/* oklch */ color: oklch(59.9% 0.236 309.8);
Tailwind
colors: {
  custom: {
    50: '#c881ef',
    500: '#aa45e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa45e6;
$custom-light: #c881ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45e6",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 277.64,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.23552,
    "h": 309.8
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#AA45E6
secondary
#BBE3A4
accent
#F3357C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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