#AA5FE0#AA5FE0

#AA5FE0 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.7% C 0.195 H 308.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE0
RGBrgb(170, 95, 224)
HSLhsl(275, 68%, 63%)
HSVhsv(275, 58%, 88%)
CMYKcmyk(24.1%, 57.6%, 0%, 12.2%)
CIE-LABlab(54.15, 53.00, -54.09)
CIE-LCHlch(54.15, 75.73, 314.42°)
OKLaboklab(62.73% 0.1217 -0.1522)
OKLCHoklch(62.73% 0.195 308.6)
XYZxyz(34.1217, 22.1128, 72.9772)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE0 #95E05F
analogous
#6A5FE0 #AA5FE0 #E05FD5
triadic
#AA5FE0 #E0AA5F #5FE0AA
tetradic
#AA5FE0 #E06A5F #95E05F #5FD5E0
square
#AA5FE0 #E06A5F #95E05F #5FD5E0
split-complementary
#AA5FE0 #D5E05F #5FE06A
monochromatic
#6D20A5 #8F2CD6 #AA5FE0 #C592EA #E0C6F4

Accessibility & contrast

On white

3.87
#AA5FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AA5FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE0#FFFFFF#000000##000000
##AA5FE01.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE4
Deuteranopia (green-blind)
#4E82DD
Tritanopia (blue-blind)
#A27797
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5fe0;
/* rgb */ color: rgb(170, 95, 224);
/* oklch */ color: oklch(62.7% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#c790ea',
    500: '#aa5fe0',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe0;
$custom-light: #c790ea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe0",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 224
  },
  "hsl": {
    "h": 274.884,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.19492,
    "h": 308.6
  },
  "luminance": 0.22112
}

Semantic roles & 50–950 ramp

primary
#AA5FE0
secondary
#CAE5B6
accent
#CF1664
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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