#AA5FE5#AA5FE5

#AA5FE5 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.0% C 0.200 H 307.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE5
RGBrgb(170, 95, 229)
HSLhsl(274, 72%, 64%)
HSVhsv(274, 59%, 90%)
CMYKcmyk(25.8%, 58.5%, 0%, 10.2%)
CIE-LABlab(54.44, 54.13, -56.44)
CIE-LCHlch(54.44, 78.20, 313.80°)
OKLaboklab(63.03% 0.1218 -0.1591)
OKLCHoklch(63.03% 0.2 307.4)
XYZxyz(34.8097, 22.3880, 76.6011)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE5 #9AE55F
analogous
#675FE5 #AA5FE5 #E55FDD
triadic
#AA5FE5 #E5AA5F #5FE5AA
tetradic
#AA5FE5 #E5675F #9AE55F #5FDDE5
square
#AA5FE5 #E5675F #9AE55F #5FDDE5
split-complementary
#AA5FE5 #DDE55F #5FE567
monochromatic
#6D1CAD #8E2ADC #AA5FE5 #C694EE #E2C8F6

Accessibility & contrast

On white

3.83
#AA5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AA5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE5#FFFFFF#000000##000000
##AA5FE51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE9
Deuteranopia (green-blind)
#4983E2
Tritanopia (blue-blind)
#A17999
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5fe5;
/* rgb */ color: rgb(170, 95, 229);
/* oklch */ color: oklch(63.0% 0.200 307.4);
Tailwind
colors: {
  custom: {
    50: '#c790ee',
    500: '#aa5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe5;
$custom-light: #c790ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe5",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 273.582,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63032,
    "c": 0.20037,
    "h": 307.4
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#AA5FE5
secondary
#CDE8B8
accent
#D41167
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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