#AA4BE9#AA4BE9

#AA4BE9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.8% C 0.231 H 308.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA4BE9
RGBrgb(170, 75, 233)
HSLhsl(276, 78%, 60%)
HSVhsv(276, 68%, 91%)
CMYKcmyk(27%, 67.8%, 0%, 8.6%)
CIE-LABlab(51.22, 64.48, -63.85)
CIE-LCHlch(51.22, 90.74, 315.28°)
OKLaboklab(60.79% 0.1442 -0.1808)
OKLCHoklch(60.79% 0.231 308.6)
XYZxyz(33.7986, 19.4620, 79.0510)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BE9 #8AE94B
analogous
#5B4BE9 #AA4BE9 #E94BD9
triadic
#AA4BE9 #E9AA4B #4BE9AA
tetradic
#AA4BE9 #E95B4B #8AE94B #4BD9E9
square
#AA4BE9 #E95B4B #8AE94B #4BD9E9
split-complementary
#AA4BE9 #D9E94B #4BE95B
monochromatic
#6C14A5 #8F1BDC #AA4BE9 #C482F0 #DEB8F6

Accessibility & contrast

On white

4.29
#AA4BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AA4BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4BE9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BE9#FFFFFF#000000##000000
##AA4BE91.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#A06D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa4be9;
/* rgb */ color: rgb(170, 75, 233);
/* oklch */ color: oklch(60.8% 0.231 308.6);
Tailwind
colors: {
  custom: {
    50: '#c884f1',
    500: '#aa4be9',
    950: '#000000',
  },
}
SCSS
$custom: #aa4be9;
$custom-light: #c884f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4be9",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 276.076,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.23127,
    "h": 308.6
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#AA4BE9
secondary
#C2E6AA
accent
#DA0B5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA4BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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