#AA3FD8#AA3FD8

#AA3FD8 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.229 H 313.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA3FD8
RGBrgb(170, 63, 216)
HSLhsl(282, 66%, 55%)
HSVhsv(282, 71%, 85%)
CMYKcmyk(21.3%, 70.8%, 0%, 15.3%)
CIE-LABlab(48.34, 65.93, -58.87)
CIE-LCHlch(48.34, 88.39, 318.24°)
OKLaboklab(58.38% 0.1582 -0.1661)
OKLCHoklch(58.38% 0.229 313.6)
XYZxyz(30.7476, 17.0599, 66.6256)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FD8 #6DD83F
analogous
#5E3FD8 #AA3FD8 #D83FB9
triadic
#AA3FD8 #D8AA3F #3FD8AA
tetradic
#AA3FD8 #D85E3F #6DD83F #3FB9D8
square
#AA3FD8 #D85E3F #6DD83F #3FB9D8
split-complementary
#AA3FD8 #B9D83F #3FD85E
monochromatic
#631A82 #8A25B5 #AA3FD8 #C172E2 #D7A5ED

Accessibility & contrast

On white

4.76
#AA3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AA3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FD8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FD8#FFFFFF#000000##FFFFFF
##AA3FD81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#3475D5
Tritanopia (blue-blind)
#A56088
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa3fd8;
/* rgb */ color: rgb(170, 63, 216);
/* oklch */ color: oklch(58.4% 0.229 313.6);
Tailwind
colors: {
  custom: {
    50: '#c87de5',
    500: '#aa3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fd8;
$custom-light: #c87de5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fd8",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 281.961,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.22941,
    "h": 313.6
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#AA3FD8
secondary
#ADDA99
accent
#E93F72
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AA3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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