#AA5FFD#AA5FFD

#AA5FFD is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.6% C 0.226 H 302.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AA5FFD
RGBrgb(170, 95, 253)
HSLhsl(268, 98%, 68%)
HSVhsv(268, 62%, 99%)
CMYKcmyk(32.8%, 62.5%, 0%, 0.8%)
CIE-LABlab(55.91, 59.66, -67.45)
CIE-LCHlch(55.91, 90.05, 311.49°)
OKLaboklab(64.57% 0.121 -0.1915)
OKLCHoklch(64.57% 0.226 302.3)
XYZxyz(38.3952, 23.8222, 95.4848)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FFD #B2FD5F
analogous
#5F63FD #AA5FFD #F95FFD
triadic
#AA5FFD #FDAA5F #5FFDAA
tetradic
#AA5FFD #FD5F63 #B2FD5F #5FFDF9
square
#AA5FFD #FD5F63 #B2FD5F #5FFDF9
split-complementary
#AA5FFD #FDF95F #63FD5F
monochromatic
#6B03DF #8A23FC #AA5FFD #CA9BFE #EAD8FF

Accessibility & contrast

On white

3.64
#AA5FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#AA5FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FFD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FFD#FFFFFF#000000##000000
##AA5FFD1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2985FA
Tritanopia (blue-blind)
#9981A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa5ffd;
/* rgb */ color: rgb(170, 95, 253);
/* oklch */ color: oklch(64.6% 0.226 302.3);
Tailwind
colors: {
  custom: {
    50: '#c890ff',
    500: '#aa5ffd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ffd;
$custom-light: #c890ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ffd",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 268.481,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.22646,
    "h": 302.3
  },
  "luminance": 0.23822
}

Semantic roles & 50–950 ramp

primary
#AA5FFD
secondary
#DDF4C4
accent
#E60079
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA5FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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