#AA5DF5#AA5DF5

#AA5DF5 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.8% C 0.220 H 304.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AA5DF5
RGBrgb(170, 93, 245)
HSLhsl(270, 88%, 66%)
HSVhsv(270, 62%, 96%)
CMYKcmyk(30.6%, 62%, 0%, 3.9%)
CIE-LABlab(55.04, 58.78, -64.42)
CIE-LCHlch(55.04, 87.20, 312.38°)
OKLaboklab(63.78% 0.1237 -0.1825)
OKLCHoklch(63.78% 0.22 304.1)
XYZxyz(36.9696, 22.9674, 88.8540)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DF5 #A8F55D
analogous
#5E5DF5 #AA5DF5 #F55DF4
triadic
#AA5DF5 #F5AA5D #5DF5AA
tetradic
#AA5DF5 #F55E5D #A8F55D #5DF4F5
square
#AA5DF5 #F55E5D #A8F55D #5DF4F5
split-complementary
#AA5DF5 #F4F55D #5DF55E
monochromatic
#6D0DCB #8C23F1 #AA5DF5 #C897F9 #E6D0FC

Accessibility & contrast

On white

3.75
#AA5DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AA5DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DF5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DF5#FFFFFF#000000##000000
##AA5DF51.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#3384F2
Tritanopia (blue-blind)
#9C7DA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5df5;
/* rgb */ color: rgb(170, 93, 245);
/* oklch */ color: oklch(63.8% 0.220 304.1);
Tailwind
colors: {
  custom: {
    50: '#c88ff9',
    500: '#aa5df5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5df5;
$custom-light: #c88ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5df5",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 270.395,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63781,
    "c": 0.22049,
    "h": 304.1
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#AA5DF5
secondary
#D7F0BE
accent
#E50171
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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