#AA5CF6#AA5CF6

#AA5CF6 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.7% C 0.223 H 304.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF6
RGBrgb(170, 92, 246)
HSLhsl(270, 90%, 66%)
HSVhsv(270, 63%, 96%)
CMYKcmyk(30.9%, 62.6%, 0%, 3.5%)
CIE-LABlab(54.92, 59.50, -65.16)
CIE-LCHlch(54.92, 88.24, 312.40°)
OKLaboklab(63.72% 0.1247 -0.1847)
OKLCHoklch(63.72% 0.223 304)
XYZxyz(37.0355, 22.8543, 89.6311)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF6 #A8F65C
analogous
#5D5CF6 #AA5CF6 #F65CF5
triadic
#AA5CF6 #F6AA5C #5CF6AA
tetradic
#AA5CF6 #F65D5C #A8F65C #5CF5F6
square
#AA5CF6 #F65D5C #A8F65C #5CF5F6
split-complementary
#AA5CF6 #F5F65C #5CF65D
monochromatic
#6D0BCC #8C22F3 #AA5CF6 #C896F9 #E6D0FC

Accessibility & contrast

On white

3.77
#AA5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AA5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF6#FFFFFF#000000##000000
##AA5CF61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#3083F3
Tritanopia (blue-blind)
#9C7DA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5cf6;
/* rgb */ color: rgb(170, 92, 246);
/* oklch */ color: oklch(63.7% 0.223 304.0);
Tailwind
colors: {
  custom: {
    50: '#c88efa',
    500: '#aa5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf6;
$custom-light: #c88efa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf6",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 270.39,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.22289,
    "h": 304
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#AA5CF6
secondary
#D7F0BE
accent
#E60071
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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