#AA3FC7#AA3FC7

#AA3FC7 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.214 H 318.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AA3FC7
RGBrgb(170, 63, 199)
HSLhsl(287, 55%, 51%)
HSVhsv(287, 68%, 78%)
CMYKcmyk(14.6%, 68.3%, 0%, 22%)
CIE-LABlab(47.27, 62.58, -50.82)
CIE-LCHlch(47.27, 80.62, 320.92°)
OKLaboklab(57.28% 0.1596 -0.1425)
OKLCHoklch(57.28% 0.214 318.3)
XYZxyz(28.6625, 16.2258, 55.6439)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FC7 #5CC73F
analogous
#663FC7 #AA3FC7 #C73FA0
triadic
#AA3FC7 #C7AA3F #3FC7AA
tetradic
#AA3FC7 #C7663F #5CC73F #3FA0C7
square
#AA3FC7 #C7663F #5CC73F #3FA0C7
split-complementary
#AA3FC7 #A0C73F #3FC766
monochromatic
#5C206C #842D9B #AA3FC7 #BF6ED5 #D49EE3

Accessibility & contrast

On white

4.95
#AA3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AA3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FC7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FC7#FFFFFF#000000##FFFFFF
##AA3FC71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4574C4
Tritanopia (blue-blind)
#A9597E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa3fc7;
/* rgb */ color: rgb(170, 63, 199);
/* oklch */ color: oklch(57.3% 0.214 318.3);
Tailwind
colors: {
  custom: {
    50: '#c77dd9',
    500: '#aa3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fc7;
$custom-light: #c77dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fc7",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 287.206,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.21398,
    "h": 318.3
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#AA3FC7
secondary
#A0CF93
accent
#DE4A69
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #AA3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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