#AA4FBA#AA4FBA

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

Color values

HEX#AA4FBA
RGBrgb(170, 79, 186)
HSLhsl(291, 44%, 52%)
HSVhsv(291, 58%, 73%)
CMYKcmyk(8.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(49.11, 52.97, -40.35)
CIE-LCHlch(49.11, 66.59, 322.71°)
OKLaboklab(58.37% 0.1406 -0.1121)
OKLCHoklch(58.37% 0.18 321.4)
XYZxyz(28.2355, 17.6845, 48.3710)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4FBA #5FBA4F
analogous
#754FBA #AA4FBA #BA4F95
triadic
#AA4FBA #BAAA4F #4FBAAA
tetradic
#AA4FBA #BA754F #5FBA4F #4F95BA
square
#AA4FBA #BA754F #5FBA4F #4F95BA
split-complementary
#AA4FBA #95BA4F #4FBA75
monochromatic
#5D2866 #853992 #AA4FBA #BF7BCB #D4A7DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA4FBA#FFFFFF#000000##FFFFFF
##AA4FBA1.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)
#3A6EBD
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#AC5F7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4fba;
/* rgb */ color: rgb(170, 79, 186);
/* oklch */ color: oklch(58.4% 0.180 321.4);
Tailwind
colors: {
  custom: {
    50: '#c685cf',
    500: '#aa4fba',
    950: '#000000',
  },
}
SCSS
$custom: #aa4fba;
$custom-light: #c685cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4fba",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 291.028,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.17979,
    "h": 321.4
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#AA4FBA
secondary
#A2CA9B
accent
#D35467
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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