#AA5DEC#AA5DEC

#AA5DEC is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.2% C 0.211 H 306.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA5DEC
RGBrgb(170, 93, 236)
HSLhsl(272, 79%, 65%)
HSVhsv(272, 61%, 93%)
CMYKcmyk(28%, 60.6%, 0%, 7.5%)
CIE-LABlab(54.48, 56.72, -60.29)
CIE-LCHlch(54.48, 82.77, 313.25°)
OKLaboklab(63.2% 0.1241 -0.1704)
OKLCHoklch(63.2% 0.211 306.1)
XYZxyz(35.6290, 22.4312, 81.7933)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DEC #9FEC5D
analogous
#635DEC #AA5DEC #EC5DE6
triadic
#AA5DEC #ECAA5D #5DECAA
tetradic
#AA5DEC #EC635D #9FEC5D #5DE6EC
square
#AA5DEC #EC635D #9FEC5D #5DE6EC
split-complementary
#AA5DEC #E6EC5D #5DEC63
monochromatic
#6E16B9 #8D26E6 #AA5DEC #C794F2 #E3CBF9

Accessibility & contrast

On white

3.83
#AA5DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AA5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DEC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DEC#FFFFFF#000000##000000
##AA5DEC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F80F1
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#9F7A9C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5dec;
/* rgb */ color: rgb(170, 93, 236);
/* oklch */ color: oklch(63.2% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#c78ff3',
    500: '#aa5dec',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dec;
$custom-light: #c78ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dec",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 272.308,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.21079,
    "h": 306.1
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#AA5DEC
secondary
#D1EBBA
accent
#DB0A6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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