#AA5FD4#AA5FD4

#AA5FD4 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.0% C 0.182 H 311.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AA5FD4
RGBrgb(170, 95, 212)
HSLhsl(278, 58%, 60%)
HSVhsv(278, 55%, 83%)
CMYKcmyk(19.8%, 55.2%, 0%, 16.9%)
CIE-LABlab(53.48, 50.36, -48.36)
CIE-LCHlch(53.48, 69.82, 316.16°)
OKLaboklab(62.02% 0.1213 -0.1355)
OKLCHoklch(62.02% 0.182 311.8)
XYZxyz(32.5513, 21.4847, 64.7068)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FD4 #89D45F
analogous
#705FD4 #AA5FD4 #D45FC3
triadic
#AA5FD4 #D4AA5F #5FD4AA
tetradic
#AA5FD4 #D4705F #89D45F #5FC3D4
square
#AA5FD4 #D4705F #89D45F #5FC3D4
split-complementary
#AA5FD4 #C3D45F #5FD470
monochromatic
#6B2791 #8F34C2 #AA5FD4 #C48FE1 #DDBFEE

Accessibility & contrast

On white

3.96
#AA5FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AA5FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FD4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FD4#FFFFFF#000000##000000
##AA5FD41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#5781D1
Tritanopia (blue-blind)
#A57391
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5fd4;
/* rgb */ color: rgb(170, 95, 212);
/* oklch */ color: oklch(62.0% 0.182 311.8);
Tailwind
colors: {
  custom: {
    50: '#c68fe2',
    500: '#aa5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fd4;
$custom-light: #c68fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fd4",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 278.462,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62019,
    "c": 0.18187,
    "h": 311.8
  },
  "luminance": 0.21484
}

Semantic roles & 50–950 ramp

primary
#AA5FD4
secondary
#C1DEB1
accent
#C5205B
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AA5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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