#AA5FE4#AA5FE4

#AA5FE4 is a light, vivid violet. Relative luminance 0.223; OKLCH L 63.0% C 0.199 H 307.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE4
RGBrgb(170, 95, 228)
HSLhsl(274, 71%, 63%)
HSVhsv(274, 58%, 89%)
CMYKcmyk(25.4%, 58.3%, 0%, 10.6%)
CIE-LABlab(54.38, 53.90, -55.97)
CIE-LCHlch(54.38, 77.70, 313.92°)
OKLaboklab(62.97% 0.1218 -0.1577)
OKLCHoklch(62.97% 0.199 307.7)
XYZxyz(34.6705, 22.3323, 75.8679)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE4 #99E45F
analogous
#675FE4 #AA5FE4 #E45FDB
triadic
#AA5FE4 #E4AA5F #5FE4AA
tetradic
#AA5FE4 #E4675F #99E45F #5FDBE4
square
#AA5FE4 #E4675F #99E45F #5FDBE4
split-complementary
#AA5FE4 #DBE45F #5FE467
monochromatic
#6D1DAC #8E2BDB #AA5FE4 #C693ED #E2C8F6

Accessibility & contrast

On white

3.84
#AA5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AA5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE4#FFFFFF#000000##000000
##AA5FE41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#4A83E1
Tritanopia (blue-blind)
#A17999
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5fe4;
/* rgb */ color: rgb(170, 95, 228);
/* oklch */ color: oklch(63.0% 0.199 307.7);
Tailwind
colors: {
  custom: {
    50: '#c790ed',
    500: '#aa5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe4;
$custom-light: #c790ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe4",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 273.835,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.19927,
    "h": 307.7
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#AA5FE4
secondary
#CCE7B8
accent
#D31266
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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