#AA4AEF#AA4AEF

#AA4AEF is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.238 H 307.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA4AEF
RGBrgb(170, 74, 239)
HSLhsl(275, 84%, 61%)
HSVhsv(275, 69%, 94%)
CMYKcmyk(28.9%, 69%, 0%, 6.3%)
CIE-LABlab(51.47, 66.21, -66.83)
CIE-LCHlch(51.47, 94.07, 314.73°)
OKLaboklab(61.09% 0.1445 -0.1895)
OKLCHoklch(61.09% 0.238 307.3)
XYZxyz(34.6030, 19.6760, 83.6196)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4AEF #8FEF4A
analogous
#584AEF #AA4AEF #EF4AE2
triadic
#AA4AEF #EFAA4A #4AEFAA
tetradic
#AA4AEF #EF584A #8FEF4A #4AE2EF
square
#AA4AEF #EF584A #8FEF4A #4AE2EF
split-complementary
#AA4AEF #E2EF4A #4AEF58
monochromatic
#6C0FAF #8F14E7 #AA4AEF #C482F4 #DFBAF9

Accessibility & contrast

On white

4.26
#AA4AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA4AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4AEF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4AEF#FFFFFF#000000##000000
##AA4AEF1.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#197BEB
Tritanopia (blue-blind)
#9F6F97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa4aef;
/* rgb */ color: rgb(170, 74, 239);
/* oklch */ color: oklch(61.1% 0.238 307.3);
Tailwind
colors: {
  custom: {
    50: '#c884f5',
    500: '#aa4aef',
    950: '#000000',
  },
}
SCSS
$custom: #aa4aef;
$custom-light: #c884f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4aef",
  "rgb": {
    "r": 170,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 274.909,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.23834,
    "h": 307.3
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#AA4AEF
secondary
#C5E9AC
accent
#E00561
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA4AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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