#AA5CF7#AA5CF7

#AA5CF7 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.8% C 0.224 H 303.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AA5CF7
RGBrgb(170, 92, 247)
HSLhsl(270, 91%, 66%)
HSVhsv(270, 63%, 97%)
CMYKcmyk(31.2%, 62.8%, 0%, 3.1%)
CIE-LABlab(54.99, 59.73, -65.61)
CIE-LCHlch(54.99, 88.73, 312.31°)
OKLaboklab(63.78% 0.1247 -0.186)
OKLCHoklch(63.78% 0.224 303.8)
XYZxyz(37.1894, 22.9158, 90.4416)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CF7 #A9F75C
analogous
#5D5CF7 #AA5CF7 #F75CF6
triadic
#AA5CF7 #F7AA5C #5CF7AA
tetradic
#AA5CF7 #F75D5C #A9F75C #5CF6F7
square
#AA5CF7 #F75D5C #A9F75C #5CF6F7
split-complementary
#AA5CF7 #F6F75C #5CF75D
monochromatic
#6D0ACE #8C22F4 #AA5CF7 #C896FA #E7D1FD

Accessibility & contrast

On white

3.76
#AA5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#AA5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CF7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CF7#FFFFFF#000000##000000
##AA5CF71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#2E83F4
Tritanopia (blue-blind)
#9C7DA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5cf7;
/* rgb */ color: rgb(170, 92, 247);
/* oklch */ color: oklch(63.8% 0.224 303.8);
Tailwind
colors: {
  custom: {
    50: '#c88efb',
    500: '#aa5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cf7;
$custom-light: #c88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cf7",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 270.194,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.22396,
    "h": 303.8
  },
  "luminance": 0.22916
}

Semantic roles & 50–950 ramp

primary
#AA5CF7
secondary
#D7F1BE
accent
#E60072
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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