#AA5FE2#AA5FE2

#AA5FE2 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.197 H 308.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE2
RGBrgb(170, 95, 226)
HSLhsl(274, 69%, 63%)
HSVhsv(274, 58%, 89%)
CMYKcmyk(24.8%, 58%, 0%, 11.4%)
CIE-LABlab(54.26, 53.45, -55.03)
CIE-LCHlch(54.26, 76.71, 314.17°)
OKLaboklab(62.85% 0.1218 -0.155)
OKLCHoklch(62.85% 0.197 308.2)
XYZxyz(34.3945, 22.2219, 74.4141)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE2 #97E25F
analogous
#685FE2 #AA5FE2 #E25FD8
triadic
#AA5FE2 #E2AA5F #5FE2AA
tetradic
#AA5FE2 #E2685F #97E25F #5FD8E2
square
#AA5FE2 #E2685F #97E25F #5FD8E2
split-complementary
#AA5FE2 #D8E25F #5FE268
monochromatic
#6D1EA8 #8E2BD9 #AA5FE2 #C693EB #E1C7F5

Accessibility & contrast

On white

3.86
#AA5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AA5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE2#FFFFFF#000000##000000
##AA5FE21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE6
Deuteranopia (green-blind)
#4C83DF
Tritanopia (blue-blind)
#A27898
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5fe2;
/* rgb */ color: rgb(170, 95, 226);
/* oklch */ color: oklch(62.8% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#c790ec',
    500: '#aa5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe2;
$custom-light: #c790ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe2",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 274.351,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62848,
    "c": 0.1971,
    "h": 308.2
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

primary
#AA5FE2
secondary
#CBE6B7
accent
#D11465
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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