#AA5DF7#AA5DF7

#AA5DF7 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.223 H 303.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AA5DF7
RGBrgb(170, 93, 247)
HSLhsl(270, 91%, 67%)
HSVhsv(270, 62%, 97%)
CMYKcmyk(31.2%, 62.3%, 0%, 3.1%)
CIE-LABlab(55.17, 59.24, -65.33)
CIE-LCHlch(55.17, 88.19, 312.21°)
OKLaboklab(63.91% 0.1236 -0.1852)
OKLCHoklch(63.91% 0.223 303.7)
XYZxyz(37.2766, 23.0902, 90.4707)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DF7 #AAF75D
analogous
#5D5DF7 #AA5DF7 #F75DF7
triadic
#AA5DF7 #F7AA5D #5DF7AA
tetradic
#AA5DF7 #F75D5D #AAF75D #5DF7F7
square
#AA5DF7 #F75D5D #AAF75D #5DF7F7
split-complementary
#AA5DF7 #F7F75D #5DF75D
monochromatic
#6D0ACF #8B23F4 #AA5DF7 #C997FA #E7D2FD

Accessibility & contrast

On white

3.74
#AA5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#AA5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DF7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DF7#FFFFFF#000000##000000
##AA5DF71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#9B7EA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5df7;
/* rgb */ color: rgb(170, 93, 247);
/* oklch */ color: oklch(63.9% 0.223 303.7);
Tailwind
colors: {
  custom: {
    50: '#c88ffb',
    500: '#aa5df7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5df7;
$custom-light: #c88ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5df7",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 270,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63913,
    "c": 0.22263,
    "h": 303.7
  },
  "luminance": 0.2309
}

Semantic roles & 50–950 ramp

primary
#AA5DF7
secondary
#D8F1BF
accent
#E60073
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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