#AA5CE7#AA5CE7

#AA5CE7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.207 H 307.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA5CE7
RGBrgb(170, 92, 231)
HSLhsl(274, 74%, 63%)
HSVhsv(274, 60%, 91%)
CMYKcmyk(26.4%, 60.2%, 0%, 9.4%)
CIE-LABlab(54.00, 56.08, -58.27)
CIE-LCHlch(54.00, 80.87, 313.91°)
OKLaboklab(62.75% 0.1254 -0.1645)
OKLCHoklch(62.75% 0.207 307.3)
XYZxyz(34.8255, 21.9703, 77.9919)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CE7 #99E75C
analogous
#645CE7 #AA5CE7 #E75CDF
triadic
#AA5CE7 #E7AA5C #5CE7AA
tetradic
#AA5CE7 #E7645C #99E75C #5CDFE7
square
#AA5CE7 #E7645C #99E75C #5CDFE7
split-complementary
#AA5CE7 #DFE75C #5CE764
monochromatic
#6D1AAF #8E27DF #AA5CE7 #C691EF #E2C7F7

Accessibility & contrast

On white

3.89
#AA5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AA5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CE7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CE7#FFFFFF#000000##000000
##AA5CE71.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7EEB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#A07799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5ce7;
/* rgb */ color: rgb(170, 92, 231);
/* oklch */ color: oklch(62.7% 0.207 307.3);
Tailwind
colors: {
  custom: {
    50: '#c78eef',
    500: '#aa5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ce7;
$custom-light: #c78eef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ce7",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 273.669,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.2068,
    "h": 307.3
  },
  "luminance": 0.2197
}

Semantic roles & 50–950 ramp

primary
#AA5CE7
secondary
#CCE8B7
accent
#D60F67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AA5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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