#AA4BC7#AA4BC7

#AA4BC7 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.198 H 317.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AA4BC7
RGBrgb(170, 75, 199)
HSLhsl(286, 53%, 54%)
HSVhsv(286, 62%, 78%)
CMYKcmyk(14.6%, 62.3%, 0%, 22%)
CIE-LABlab(49.13, 57.40, -47.84)
CIE-LCHlch(49.13, 74.72, 320.19°)
OKLaboklab(58.62% 0.1461 -0.1338)
OKLCHoklch(58.62% 0.198 317.5)
XYZxyz(29.4010, 17.7029, 55.8900)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4BC7 #68C74B
analogous
#6C4BC7 #AA4BC7 #C74BA6
triadic
#AA4BC7 #C7AA4B #4BC7AA
tetradic
#AA4BC7 #C76C4B #68C74B #4BA6C7
square
#AA4BC7 #C76C4B #68C74B #4BA6C7
split-complementary
#AA4BC7 #A6C74B #4BC76C
monochromatic
#612474 #8832A2 #AA4BC7 #C07AD6 #D6A8E4

Accessibility & contrast

On white

4.63
#AA4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AA4BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4BC7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4BC7#FFFFFF#000000##FFFFFF
##AA4BC71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#A96182
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4bc7;
/* rgb */ color: rgb(170, 75, 199);
/* oklch */ color: oklch(58.6% 0.198 317.5);
Tailwind
colors: {
  custom: {
    50: '#c683d8',
    500: '#aa4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4bc7;
$custom-light: #c683d8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4bc7",
  "rgb": {
    "r": 170,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 285.968,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.19813,
    "h": 317.5
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#AA4BC7
secondary
#A9D19C
accent
#DC4C6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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