#AA5DF2#AA5DF2

#AA5DF2 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.6% C 0.217 H 304.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA5DF2
RGBrgb(170, 93, 242)
HSLhsl(271, 85%, 66%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(29.8%, 61.6%, 0%, 5.1%)
CIE-LABlab(54.85, 58.09, -63.05)
CIE-LCHlch(54.85, 85.73, 312.66°)
OKLaboklab(63.59% 0.1238 -0.1785)
OKLCHoklch(63.59% 0.217 304.7)
XYZxyz(36.5154, 22.7857, 86.4616)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DF2 #A5F25D
analogous
#5F5DF2 #AA5DF2 #F25DEF
triadic
#AA5DF2 #F2AA5D #5DF2AA
tetradic
#AA5DF2 #F25F5D #A5F25D #5DEFF2
square
#AA5DF2 #F25F5D #A5F25D #5DEFF2
split-complementary
#AA5DF2 #EFF25D #5DF25F
monochromatic
#6D10C5 #8C24ED #AA5DF2 #C896F7 #E5CEFB

Accessibility & contrast

On white

3.78
#AA5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AA5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DF2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DF2#FFFFFF#000000##000000
##AA5DF21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#3883EF
Tritanopia (blue-blind)
#9D7C9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5df2;
/* rgb */ color: rgb(170, 93, 242);
/* oklch */ color: oklch(63.6% 0.217 304.7);
Tailwind
colors: {
  custom: {
    50: '#c88ff7',
    500: '#aa5df2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5df2;
$custom-light: #c88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5df2",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 271.007,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63585,
    "c": 0.21725,
    "h": 304.7
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#AA5DF2
secondary
#D5EEBD
accent
#E2046F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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