#AA5CF1#AA5CF1

#AA5CF1 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.4% C 0.218 H 305.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF1
RGBrgb(170, 92, 241)
HSLhsl(271, 84%, 65%)
HSVhsv(271, 62%, 95%)
CMYKcmyk(29.5%, 61.8%, 0%, 5.5%)
CIE-LABlab(54.61, 58.35, -62.88)
CIE-LCHlch(54.61, 85.79, 312.86°)
OKLaboklab(63.39% 0.125 -0.178)
OKLCHoklch(63.39% 0.218 305.1)
XYZxyz(36.2784, 22.5514, 85.6437)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF1 #A3F15C
analogous
#5F5CF1 #AA5CF1 #F15CEE
triadic
#AA5CF1 #F1AA5C #5CF1AA
tetradic
#AA5CF1 #F15F5C #A3F15C #5CEEF1
square
#AA5CF1 #F15F5C #A3F15C #5CEEF1
split-complementary
#AA5CF1 #EEF15C #5CF15F
monochromatic
#6D11C2 #8D24EC #AA5CF1 #C794F6 #E5CDFB

Accessibility & contrast

On white

3.81
#AA5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AA5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF1#FFFFFF#000000##000000
##AA5CF11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3883EE
Tritanopia (blue-blind)
#9D7B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5cf1;
/* rgb */ color: rgb(170, 92, 241);
/* oklch */ color: oklch(63.4% 0.218 305.1);
Tailwind
colors: {
  custom: {
    50: '#c88ef6',
    500: '#aa5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf1;
$custom-light: #c88ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf1",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 271.409,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63388,
    "c": 0.21753,
    "h": 305.1
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#AA5CF1
secondary
#D3EEBB
accent
#E1056E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AA5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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