#AA5EDA#AA5EDA

#AA5EDA is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.190 H 310.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AA5EDA
RGBrgb(170, 94, 218)
HSLhsl(277, 63%, 61%)
HSVhsv(277, 57%, 85%)
CMYKcmyk(22%, 56.9%, 0%, 14.5%)
CIE-LABlab(53.62, 52.18, -51.54)
CIE-LCHlch(53.62, 73.35, 315.35°)
OKLaboklab(62.23% 0.1229 -0.1448)
OKLCHoklch(62.23% 0.19 310.3)
XYZxyz(33.2328, 21.6141, 68.7373)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EDA #8EDA5E
analogous
#6C5EDA #AA5EDA #DA5ECC
triadic
#AA5EDA #DAAA5E #5EDAAA
tetradic
#AA5EDA #DA6C5E #8EDA5E #5ECCDA
square
#AA5EDA #DA6C5E #8EDA5E #5ECCDA
split-complementary
#AA5EDA #CCDA5E #5EDA6C
monochromatic
#6C239A #8F2FCC #AA5EDA #C490E5 #DFC2F1

Accessibility & contrast

On white

3.95
#AA5EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AA5EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EDA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EDA#FFFFFF#000000##000000
##AA5EDA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#5281D7
Tritanopia (blue-blind)
#A47493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5eda;
/* rgb */ color: rgb(170, 94, 218);
/* oklch */ color: oklch(62.2% 0.190 310.3);
Tailwind
colors: {
  custom: {
    50: '#c68fe6',
    500: '#aa5eda',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eda;
$custom-light: #c68fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eda",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 276.774,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.18988,
    "h": 310.3
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#AA5EDA
secondary
#C5E1B3
accent
#CA1B5F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AA5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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