#AA5FDC#AA5FDC

#AA5FDC is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.5% C 0.191 H 309.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AA5FDC
RGBrgb(170, 95, 220)
HSLhsl(276, 64%, 62%)
HSVhsv(276, 57%, 86%)
CMYKcmyk(22.7%, 56.8%, 0%, 13.7%)
CIE-LABlab(53.92, 52.11, -52.19)
CIE-LCHlch(53.92, 73.75, 314.96°)
OKLaboklab(62.49% 0.1216 -0.1467)
OKLCHoklch(62.49% 0.191 309.7)
XYZxyz(33.5856, 21.8984, 70.1538)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FDC #91DC5F
analogous
#6C5FDC #AA5FDC #DC5FD0
triadic
#AA5FDC #DCAA5F #5FDCAA
tetradic
#AA5FDC #DC6C5F #91DC5F #5FD0DC
square
#AA5FDC #DC6C5F #91DC5F #5FD0DC
split-complementary
#AA5FDC #D0DC5F #5FDC6C
monochromatic
#6D239E #8F2ED0 #AA5FDC #C591E7 #DFC3F2

Accessibility & contrast

On white

3.90
#AA5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AA5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FDC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FDC#FFFFFF#000000##000000
##AA5FDC1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#A37695
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5fdc;
/* rgb */ color: rgb(170, 95, 220);
/* oklch */ color: oklch(62.5% 0.191 309.7);
Tailwind
colors: {
  custom: {
    50: '#c68fe7',
    500: '#aa5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fdc;
$custom-light: #c68fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fdc",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 276,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.19056,
    "h": 309.7
  },
  "luminance": 0.21898
}

Semantic roles & 50–950 ramp

primary
#AA5FDC
secondary
#C7E3B4
accent
#CC1A61
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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