#AA5FF4#AA5FF4

#AA5FF4 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.217 H 304.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AA5FF4
RGBrgb(170, 95, 244)
HSLhsl(270, 87%, 66%)
HSVhsv(270, 61%, 96%)
CMYKcmyk(30.3%, 61.1%, 0%, 4.3%)
CIE-LABlab(55.34, 57.56, -63.37)
CIE-LCHlch(55.34, 85.61, 312.25°)
OKLaboklab(63.98% 0.1215 -0.1795)
OKLCHoklch(63.98% 0.217 304.1)
XYZxyz(36.9952, 23.2622, 88.1115)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FF4 #A9F45F
analogous
#605FF4 #AA5FF4 #F45FF4
triadic
#AA5FF4 #F4AA5F #5FF4AA
tetradic
#AA5FF4 #F4605F #A9F45F #5FF4F4
square
#AA5FF4 #F4605F #A9F45F #5FF4F4
split-complementary
#AA5FF4 #F4F45F #5FF460
monochromatic
#6D0ECB #8C26F0 #AA5FF4 #C898F8 #E7D2FC

Accessibility & contrast

On white

3.72
#AA5FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AA5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FF4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FF4#FFFFFF#000000##000000
##AA5FF41.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#3884F1
Tritanopia (blue-blind)
#9C7EA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5ff4;
/* rgb */ color: rgb(170, 95, 244);
/* oklch */ color: oklch(64.0% 0.217 304.1);
Tailwind
colors: {
  custom: {
    50: '#c890f8',
    500: '#aa5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ff4;
$custom-light: #c890f8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ff4",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 270.201,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6398,
    "c": 0.2167,
    "h": 304.1
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#AA5FF4
secondary
#D7F0BF
accent
#E40272
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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