#AA3FB7#AA3FB7

#AA3FB7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.200 H 323.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AA3FB7
RGBrgb(170, 63, 183)
HSLhsl(294, 49%, 48%)
HSVhsv(294, 66%, 72%)
CMYKcmyk(7.1%, 65.6%, 0%, 28.2%)
CIE-LABlab(46.34, 59.58, -42.99)
CIE-LCHlch(46.34, 73.47, 324.19°)
OKLaboklab(56.31% 0.16 -0.1196)
OKLCHoklch(56.31% 0.2 323.2)
XYZxyz(26.9015, 15.5215, 46.3695)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FB7 #4CB73F
analogous
#6E3FB7 #AA3FB7 #B73F88
triadic
#AA3FB7 #B7AA3F #3FB7AA
tetradic
#AA3FB7 #B76E3F #4CB73F #3F88B7
square
#AA3FB7 #B76E3F #4CB73F #3F88B7
split-complementary
#AA3FB7 #88B73F #3FB76E
monochromatic
#55205C #802F89 #AA3FB7 #C068CB #D396DB

Accessibility & contrast

On white

5.12
#AA3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AA3FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FB7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FB7#FFFFFF#000000##FFFFFF
##AA3FB71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#AD5276
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa3fb7;
/* rgb */ color: rgb(170, 63, 183);
/* oklch */ color: oklch(56.3% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#c77ccd',
    500: '#aa3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fb7;
$custom-light: #c77ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fb7",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 293.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.19977,
    "h": 323.2
  },
  "luminance": 0.1552
}

Semantic roles & 50–950 ramp

primary
#AA3FB7
secondary
#92C68B
accent
#D84F5E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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