#AA4BC2#AA4BC2

#AA4BC2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.193 H 319.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA4BC2
RGBrgb(170, 75, 194)
HSLhsl(288, 49%, 53%)
HSVhsv(288, 61%, 76%)
CMYKcmyk(12.4%, 61.3%, 0%, 23.9%)
CIE-LABlab(48.85, 56.41, -45.40)
CIE-LCHlch(48.85, 72.41, 321.18°)
OKLaboklab(58.32% 0.146 -0.1267)
OKLCHoklch(58.32% 0.193 319)
XYZxyz(28.8300, 17.4745, 52.8828)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BC2 #63C24B
analogous
#6E4BC2 #AA4BC2 #C24B9F
triadic
#AA4BC2 #C2AA4B #4BC2AA
tetradic
#AA4BC2 #C26E4B #63C24B #4B9FC2
square
#AA4BC2 #C26E4B #63C24B #4B9FC2
split-complementary
#AA4BC2 #9FC24B #4BC26E
monochromatic
#5F256D #87359B #AA4BC2 #C079D1 #D5A6E1

Accessibility & contrast

On white

4.67
#AA4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AA4BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BC2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BC2#FFFFFF#000000##FFFFFF
##AA4BC21.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#AA5F80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa4bc2;
/* rgb */ color: rgb(170, 75, 194);
/* oklch */ color: oklch(58.3% 0.193 319.0);
Tailwind
colors: {
  custom: {
    50: '#c683d5',
    500: '#aa4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bc2;
$custom-light: #c683d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bc2",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 287.899,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.19334,
    "h": 319
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#AA4BC2
secondary
#A5CE9B
accent
#D94F6B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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