#AA3FAF#AA3FAF

#AA3FAF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.193 H 325.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA3FAF
RGBrgb(170, 63, 175)
HSLhsl(297, 47%, 47%)
HSVhsv(297, 64%, 69%)
CMYKcmyk(2.9%, 64%, 0%, 31.4%)
CIE-LABlab(45.90, 58.13, -38.98)
CIE-LCHlch(45.90, 69.99, 326.15°)
OKLaboklab(55.85% 0.1598 -0.108)
OKLCHoklch(55.85% 0.193 325.9)
XYZxyz(26.0924, 15.1978, 42.1083)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FAF #44AF3F
analogous
#723FAF #AA3FAF #AF3F7C
triadic
#AA3FAF #AFAA3F #3FAFAA
tetradic
#AA3FAF #AF723F #44AF3F #3F7CAF
square
#AA3FAF #AF723F #44AF3F #3F7CAF
split-complementary
#AA3FAF #7CAF3F #3FAF72
monochromatic
#531F55 #7E2F82 #AA3FAF #C364C7 #D491D7

Accessibility & contrast

On white

5.20
#AA3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AA3FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FAF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FAF#FFFFFF#000000##FFFFFF
##AA3FAF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#AE4F71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa3faf;
/* rgb */ color: rgb(170, 63, 175);
/* oklch */ color: oklch(55.9% 0.193 325.9);
Tailwind
colors: {
  custom: {
    50: '#c67cc7',
    500: '#aa3faf',
    950: '#000000',
  },
}
SCSS
$custom: #aa3faf;
$custom-light: #c67cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3faf",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 297.321,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.19284,
    "h": 325.9
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#AA3FAF
secondary
#8AC387
accent
#D75157
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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