#AA5DE7#AA5DE7

#AA5DE7 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.205 H 307.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AA5DE7
RGBrgb(170, 93, 231)
HSLhsl(273, 74%, 64%)
HSVhsv(273, 60%, 91%)
CMYKcmyk(26.4%, 59.7%, 0%, 9.4%)
CIE-LABlab(54.18, 55.58, -57.97)
CIE-LCHlch(54.18, 80.31, 313.80°)
OKLaboklab(62.88% 0.1242 -0.1636)
OKLCHoklch(62.88% 0.205 307.2)
XYZxyz(34.9127, 22.1447, 78.0209)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DE7 #9AE75D
analogous
#655DE7 #AA5DE7 #E75DDF
triadic
#AA5DE7 #E7AA5D #5DE7AA
tetradic
#AA5DE7 #E7655D #9AE75D #5DDFE7
square
#AA5DE7 #E7655D #9AE75D #5DDFE7
split-complementary
#AA5DE7 #DFE75D #5DE765
monochromatic
#6D1AB0 #8E28DF #AA5DE7 #C692EF #E2C8F7

Accessibility & contrast

On white

3.87
#AA5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AA5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DE7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DE7#FFFFFF#000000##000000
##AA5DE71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7FEB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#A07899
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5de7;
/* rgb */ color: rgb(170, 93, 231);
/* oklch */ color: oklch(62.9% 0.205 307.2);
Tailwind
colors: {
  custom: {
    50: '#c78eef',
    500: '#aa5de7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5de7;
$custom-light: #c78eef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5de7",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 273.478,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62883,
    "c": 0.20539,
    "h": 307.2
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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