#AA3FD7#AA3FD7

#AA3FD7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.229 H 313.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA3FD7
RGBrgb(170, 63, 215)
HSLhsl(282, 66%, 55%)
HSVhsv(282, 71%, 84%)
CMYKcmyk(20.9%, 70.7%, 0%, 15.7%)
CIE-LABlab(48.27, 65.73, -58.40)
CIE-LCHlch(48.27, 87.93, 318.38°)
OKLaboklab(58.31% 0.1584 -0.1647)
OKLCHoklch(58.31% 0.229 313.9)
XYZxyz(30.6187, 17.0084, 65.9468)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FD7 #6CD73F
analogous
#5E3FD7 #AA3FD7 #D73FB8
triadic
#AA3FD7 #D7AA3F #3FD7AA
tetradic
#AA3FD7 #D75E3F #6CD73F #3FB8D7
square
#AA3FD7 #D75E3F #6CD73F #3FB8D7
split-complementary
#AA3FD7 #B8D73F #3FD75E
monochromatic
#631B81 #8925B3 #AA3FD7 #C072E2 #D7A4EC

Accessibility & contrast

On white

4.77
#AA3FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AA3FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FD7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FD7#FFFFFF#000000##FFFFFF
##AA3FD71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#3575D4
Tritanopia (blue-blind)
#A65F87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa3fd7;
/* rgb */ color: rgb(170, 63, 215);
/* oklch */ color: oklch(58.3% 0.229 313.9);
Tailwind
colors: {
  custom: {
    50: '#c87de4',
    500: '#aa3fd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fd7;
$custom-light: #c87de4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fd7",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 282.237,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58309,
    "c": 0.2285,
    "h": 313.9
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#AA3FD7
secondary
#ACD999
accent
#E83F71
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AA3FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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