#AA5FE6#AA5FE6

#AA5FE6 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.1% C 0.201 H 307.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA5FE6
RGBrgb(170, 95, 230)
HSLhsl(273, 73%, 64%)
HSVhsv(273, 59%, 90%)
CMYKcmyk(26.1%, 58.7%, 0%, 9.8%)
CIE-LABlab(54.49, 54.35, -56.90)
CIE-LCHlch(54.49, 78.69, 313.69°)
OKLaboklab(63.09% 0.1218 -0.1605)
OKLCHoklch(63.09% 0.201 307.2)
XYZxyz(34.9497, 22.4440, 77.3385)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE6 #9BE65F
analogous
#665FE6 #AA5FE6 #E65FDF
triadic
#AA5FE6 #E6AA5F #5FE6AA
tetradic
#AA5FE6 #E6665F #9BE65F #5FDFE6
square
#AA5FE6 #E6665F #9BE65F #5FDFE6
split-complementary
#AA5FE6 #DFE65F #5FE666
monochromatic
#6E1BAF #8E2ADE #AA5FE6 #C694EE #E2C9F7

Accessibility & contrast

On white

3.83
#AA5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AA5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE6#FFFFFF#000000##000000
##AA5FE61.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EA
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#A1799A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5fe6;
/* rgb */ color: rgb(170, 95, 230);
/* oklch */ color: oklch(63.1% 0.201 307.2);
Tailwind
colors: {
  custom: {
    50: '#c790ef',
    500: '#aa5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe6;
$custom-light: #c790ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe6",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 273.333,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.20146,
    "h": 307.2
  },
  "luminance": 0.22444
}

Semantic roles & 50–950 ramp

primary
#AA5FE6
secondary
#CEE8B9
accent
#D51068
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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