#AA5FE3#AA5FE3

#AA5FE3 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.9% C 0.198 H 307.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE3
RGBrgb(170, 95, 227)
HSLhsl(274, 70%, 63%)
HSVhsv(274, 58%, 89%)
CMYKcmyk(25.1%, 58.1%, 0%, 11%)
CIE-LABlab(54.32, 53.68, -55.50)
CIE-LCHlch(54.32, 77.21, 314.04°)
OKLaboklab(62.91% 0.1218 -0.1564)
OKLCHoklch(62.91% 0.198 307.9)
XYZxyz(34.5321, 22.2770, 75.1389)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE3 #98E35F
analogous
#685FE3 #AA5FE3 #E35FDA
triadic
#AA5FE3 #E3AA5F #5FE3AA
tetradic
#AA5FE3 #E3685F #98E35F #5FDAE3
square
#AA5FE3 #E3685F #98E35F #5FDAE3
split-complementary
#AA5FE3 #DAE35F #5FE368
monochromatic
#6D1EAA #8E2BDA #AA5FE3 #C693EC #E1C7F5

Accessibility & contrast

On white

3.85
#AA5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AA5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE3#FFFFFF#000000##000000
##AA5FE31.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#4B83E0
Tritanopia (blue-blind)
#A17898
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5fe3;
/* rgb */ color: rgb(170, 95, 227);
/* oklch */ color: oklch(62.9% 0.198 307.9);
Tailwind
colors: {
  custom: {
    50: '#c790ec',
    500: '#aa5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe3;
$custom-light: #c790ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe3",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 274.091,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.19818,
    "h": 307.9
  },
  "luminance": 0.22277
}

Semantic roles & 50–950 ramp

primary
#AA5FE3
secondary
#CCE7B7
accent
#D21366
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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