#AA5BEC#AA5BEC

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

Color values

HEX#AA5BEC
RGBrgb(170, 91, 236)
HSLhsl(273, 79%, 64%)
HSVhsv(273, 61%, 93%)
CMYKcmyk(28%, 61.4%, 0%, 7.5%)
CIE-LABlab(54.12, 57.70, -60.88)
CIE-LCHlch(54.12, 83.88, 313.47°)
OKLaboklab(62.93% 0.1264 -0.1721)
OKLCHoklch(62.93% 0.214 306.3)
XYZxyz(35.4557, 22.0847, 81.7355)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5BEC #9DEC5B
analogous
#625BEC #AA5BEC #EC5BE5
triadic
#AA5BEC #ECAA5B #5BECAA
tetradic
#AA5BEC #EC625B #9DEC5B #5BE5EC
square
#AA5BEC #EC625B #9DEC5B #5BE5EC
split-complementary
#AA5BEC #E5EC5B #5BEC62
monochromatic
#6E15B7 #8E24E6 #AA5BEC #C692F2 #E3C9F9

Accessibility & contrast

On white

3.88
#AA5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AA5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5BEC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5BEC#FFFFFF#000000##000000
##AA5BEC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#9F799B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5bec;
/* rgb */ color: rgb(170, 91, 236);
/* oklch */ color: oklch(62.9% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#c78df3',
    500: '#aa5bec',
    950: '#000000',
  },
}
SCSS
$custom: #aa5bec;
$custom-light: #c78df3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5bec",
  "rgb": {
    "r": 170,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 272.69,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62934,
    "c": 0.21354,
    "h": 306.3
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#AA5BEC
secondary
#CFEBB8
accent
#DC0A69
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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