#AA5FD7#AA5FD7

#AA5FD7 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.185 H 311.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA5FD7
RGBrgb(170, 95, 215)
HSLhsl(278, 60%, 61%)
HSVhsv(278, 56%, 84%)
CMYKcmyk(20.9%, 55.8%, 0%, 15.7%)
CIE-LABlab(53.64, 51.01, -49.80)
CIE-LCHlch(53.64, 71.29, 315.69°)
OKLaboklab(62.19% 0.1215 -0.1397)
OKLCHoklch(62.19% 0.185 311)
XYZxyz(32.9333, 21.6374, 66.7184)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FD7 #8CD75F
analogous
#6E5FD7 #AA5FD7 #D75FC8
triadic
#AA5FD7 #D7AA5F #5FD7AA
tetradic
#AA5FD7 #D76E5F #8CD75F #5FC8D7
square
#AA5FD7 #D76E5F #8CD75F #5FC8D7
split-complementary
#AA5FD7 #C8D75F #5FD76E
monochromatic
#6C2696 #8F32C7 #AA5FD7 #C490E3 #DEC1EF

Accessibility & contrast

On white

3.94
#AA5FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AA5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FD7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FD7#FFFFFF#000000##000000
##AA5FD71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDB
Deuteranopia (green-blind)
#5582D4
Tritanopia (blue-blind)
#A57492
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5fd7;
/* rgb */ color: rgb(170, 95, 215);
/* oklch */ color: oklch(62.2% 0.185 311.0);
Tailwind
colors: {
  custom: {
    50: '#c68fe4',
    500: '#aa5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fd7;
$custom-light: #c68fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fd7",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 277.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62193,
    "c": 0.18513,
    "h": 311
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#AA5FD7
secondary
#C3E0B2
accent
#C81E5E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #AA5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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