#AA5DEF#AA5DEF

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

Color values

HEX#AA5DEF
RGBrgb(170, 93, 239)
HSLhsl(272, 82%, 65%)
HSVhsv(272, 61%, 94%)
CMYKcmyk(28.9%, 61.1%, 0%, 6.3%)
CIE-LABlab(54.67, 57.40, -61.67)
CIE-LCHlch(54.67, 84.25, 312.95°)
OKLaboklab(63.39% 0.124 -0.1745)
OKLCHoklch(63.39% 0.214 305.4)
XYZxyz(36.0685, 22.6070, 84.1081)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DEF #A2EF5D
analogous
#615DEF #AA5DEF #EF5DEB
triadic
#AA5DEF #EFAA5D #5DEFAA
tetradic
#AA5DEF #EF615D #A2EF5D #5DEBEF
square
#AA5DEF #EF615D #A2EF5D #5DEBEF
split-complementary
#AA5DEF #EBEF5D #5DEF61
monochromatic
#6E13BF #8D25E9 #AA5DEF #C795F5 #E4CCFA

Accessibility & contrast

On white

3.80
#AA5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DEF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DEF#FFFFFF#000000##000000
##AA5DEF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F4
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#9E7B9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5def;
/* rgb */ color: rgb(170, 93, 239);
/* oklch */ color: oklch(63.4% 0.214 305.4);
Tailwind
colors: {
  custom: {
    50: '#c78ff5',
    500: '#aa5def',
    950: '#000000',
  },
}
SCSS
$custom: #aa5def;
$custom-light: #c78ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5def",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 271.644,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63391,
    "c": 0.21402,
    "h": 305.4
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

primary
#AA5DEF
secondary
#D3EDBB
accent
#DE076D
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #AA5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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