#AA46E1#AA46E1

#AA46E1 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.230 H 310.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA46E1
RGBrgb(170, 70, 225)
HSLhsl(279, 72%, 58%)
HSVhsv(279, 69%, 88%)
CMYKcmyk(24.4%, 68.9%, 0%, 11.8%)
CIE-LABlab(49.93, 64.92, -61.41)
CIE-LCHlch(49.93, 89.37, 316.59°)
OKLaboklab(59.7% 0.1502 -0.1736)
OKLCHoklch(59.7% 0.23 310.9)
XYZxyz(32.3557, 18.3634, 73.0596)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA46E1 #7DE146
analogous
#5D46E1 #AA46E1 #E146CA
triadic
#AA46E1 #E1AA46 #46E1AA
tetradic
#AA46E1 #E15D46 #7DE146 #46CAE1
square
#AA46E1 #E15D46 #7DE146 #46CAE1
split-complementary
#AA46E1 #CAE146 #46E15D
monochromatic
#681895 #8D21C9 #AA46E1 #C27BEA #DAAFF2

Accessibility & contrast

On white

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

On black

4.67
#AA46E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA46E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA46E1#FFFFFF#000000##000000
##AA46E11.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2F78DE
Tritanopia (blue-blind)
#A3678F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa46e1;
/* rgb */ color: rgb(170, 70, 225);
/* oklch */ color: oklch(59.7% 0.230 310.9);
Tailwind
colors: {
  custom: {
    50: '#c881eb',
    500: '#aa46e1',
    950: '#000000',
  },
}
SCSS
$custom: #aa46e1;
$custom-light: #c881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa46e1",
  "rgb": {
    "r": 170,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 278.71,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59702,
    "c": 0.22958,
    "h": 310.9
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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