#AA5FF6#AA5FF6

#AA5FF6 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.219 H 303.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AA5FF6
RGBrgb(170, 95, 246)
HSLhsl(270, 89%, 67%)
HSVhsv(270, 61%, 96%)
CMYKcmyk(30.9%, 61.4%, 0%, 3.5%)
CIE-LABlab(55.47, 58.03, -64.28)
CIE-LCHlch(55.47, 86.60, 312.07°)
OKLaboklab(64.11% 0.1214 -0.1821)
OKLCHoklch(64.11% 0.219 303.7)
XYZxyz(37.3006, 23.3844, 89.7195)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FF6 #ABF65F
analogous
#5F60F6 #AA5FF6 #F55FF6
triadic
#AA5FF6 #F6AA5F #5FF6AA
tetradic
#AA5FF6 #F65F60 #ABF65F #5FF6F5
square
#AA5FF6 #F65F60 #ABF65F #5FF6F5
split-complementary
#AA5FF6 #F6F55F #60F65F
monochromatic
#6D0CCF #8B25F3 #AA5FF6 #C999F9 #E8D3FD

Accessibility & contrast

On white

3.70
#AA5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#AA5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FF6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FF6#FFFFFF#000000##000000
##AA5FF61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#9C7FA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa5ff6;
/* rgb */ color: rgb(170, 95, 246);
/* oklch */ color: oklch(64.1% 0.219 303.7);
Tailwind
colors: {
  custom: {
    50: '#c890fa',
    500: '#aa5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ff6;
$custom-light: #c890fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ff6",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 269.801,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6411,
    "c": 0.21888,
    "h": 303.7
  },
  "luminance": 0.23384
}

Semantic roles & 50–950 ramp

primary
#AA5FF6
secondary
#D9F1C0
accent
#E60074
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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