#AA3BAF#AA3BAF

#AA3BAF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.198 H 326.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AA3BAF
RGBrgb(170, 59, 175)
HSLhsl(297, 50%, 46%)
HSVhsv(297, 66%, 69%)
CMYKcmyk(2.9%, 66.3%, 0%, 31.4%)
CIE-LABlab(45.32, 59.77, -39.91)
CIE-LCHlch(45.32, 71.87, 326.27°)
OKLaboklab(55.43% 0.1643 -0.1106)
OKLCHoklch(55.43% 0.198 326)
XYZxyz(25.8789, 14.7708, 42.0371)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3BAF #40AF3B
analogous
#703BAF #AA3BAF #AF3B7A
triadic
#AA3BAF #AFAA3B #3BAFAA
tetradic
#AA3BAF #AF703B #40AF3B #3B7AAF
square
#AA3BAF #AF703B #40AF3B #3B7AAF
split-complementary
#AA3BAF #7AAF3B #3BAF70
monochromatic
#511C53 #7E2C81 #AA3BAF #C45EC9 #D58CD8

Accessibility & contrast

On white

5.31
#AA3BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AA3BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3BAF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3BAF#FFFFFF#000000##FFFFFF
##AA3BAF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#AE4C70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa3baf;
/* rgb */ color: rgb(170, 59, 175);
/* oklch */ color: oklch(55.4% 0.198 326.0);
Tailwind
colors: {
  custom: {
    50: '#c77ac7',
    500: '#aa3baf',
    950: '#000000',
  },
}
SCSS
$custom: #aa3baf;
$custom-light: #c77ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3baf",
  "rgb": {
    "r": 170,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 297.414,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.19811,
    "h": 326
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#AA3BAF
secondary
#86C383
accent
#D94F55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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