#AA5DFF#AA5DFF

#AA5DFF is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.4% C 0.231 H 302.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AA5DFF
RGBrgb(170, 93, 255)
HSLhsl(269, 100%, 68%)
HSVhsv(269, 64%, 100%)
CMYKcmyk(33.3%, 63.5%, 0%, 0%)
CIE-LABlab(55.68, 61.11, -68.93)
CIE-LCHlch(55.68, 92.12, 311.56°)
OKLaboklab(64.45% 0.123 -0.1958)
OKLCHoklch(64.45% 0.231 302.1)
XYZxyz(38.5377, 23.5947, 97.1123)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DFF #B2FF5D
analogous
#5D61FF #AA5DFF #FB5DFF
triadic
#AA5DFF #FFAA5D #5DFFAA
tetradic
#AA5DFF #FF5D61 #B2FF5D #5DFFFB
square
#AA5DFF #FF5D61 #B2FF5D #5DFFFB
split-complementary
#AA5DFF #FFFB5D #61FF5D
monochromatic
#6B00E2 #8A20FF #AA5DFF #CA9AFF #EAD7FF

Accessibility & contrast

On white

3.67
#AA5DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#AA5DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DFF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DFF#FFFFFF#000000##000000
##AA5DFF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#1F85FB
Tritanopia (blue-blind)
#9981A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa5dff;
/* rgb */ color: rgb(170, 93, 255);
/* oklch */ color: oklch(64.4% 0.231 302.1);
Tailwind
colors: {
  custom: {
    50: '#c98fff',
    500: '#aa5dff',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dff;
$custom-light: #c98fff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dff",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 268.519,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64448,
    "c": 0.23122,
    "h": 302.1
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#AA5DFF
secondary
#DDF4C3
accent
#E60078
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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