#AA3FC8#AA3FC8

#AA3FC8 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.215 H 318.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA3FC8
RGBrgb(170, 63, 200)
HSLhsl(287, 55%, 52%)
HSVhsv(287, 69%, 78%)
CMYKcmyk(15%, 68.5%, 0%, 21.6%)
CIE-LABlab(47.33, 62.78, -51.30)
CIE-LCHlch(47.33, 81.07, 320.75°)
OKLaboklab(57.34% 0.1596 -0.1439)
OKLCHoklch(57.34% 0.215 318)
XYZxyz(28.7789, 16.2724, 56.2573)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3FC8 #5DC83F
analogous
#663FC8 #AA3FC8 #C83FA2
triadic
#AA3FC8 #C8AA3F #3FC8AA
tetradic
#AA3FC8 #C8663F #5DC83F #3FA2C8
square
#AA3FC8 #C8663F #5DC83F #3FA2C8
split-complementary
#AA3FC8 #A2C83F #3FC866
monochromatic
#5C1F6D #842D9D #AA3FC8 #BF6FD6 #D49EE3

Accessibility & contrast

On white

4.94
#AA3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AA3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3FC8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3FC8#FFFFFF#000000##FFFFFF
##AA3FC81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#A9597F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa3fc8;
/* rgb */ color: rgb(170, 63, 200);
/* oklch */ color: oklch(57.3% 0.215 318.0);
Tailwind
colors: {
  custom: {
    50: '#c77dd9',
    500: '#aa3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #aa3fc8;
$custom-light: #c77dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3fc8",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 286.861,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.21489,
    "h": 318
  },
  "luminance": 0.16271
}

Semantic roles & 50–950 ramp

primary
#AA3FC8
secondary
#A0D093
accent
#DF496A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #AA3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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