#AA88EC#AA88EC

#AA88EC is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.146 H 298.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AA88EC
RGBrgb(170, 136, 236)
HSLhsl(260, 72%, 73%)
HSVhsv(260, 42%, 93%)
CMYKcmyk(28%, 42.4%, 0%, 7.5%)
CIE-LABlab(63.52, 33.56, -45.91)
CIE-LCHlch(63.52, 56.87, 306.17°)
OKLaboklab(69.9% 0.0689 -0.1285)
OKLCHoklch(69.9% 0.146 298.2)
XYZxyz(40.5185, 32.2102, 83.4231)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88EC #CAEC88
analogous
#8898EC #AA88EC #DC88EC
triadic
#AA88EC #ECAA88 #88ECAA
tetradic
#AA88EC #EC8898 #CAEC88 #88ECDC
square
#AA88EC #EC8898 #CAEC88 #88ECDC
split-complementary
#AA88EC #ECDC88 #98EC88
monochromatic
#6022D7 #8453E4 #AA88EC #D0BDF4 #ECE5FB

Accessibility & contrast

On white

2.82
#AA88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AA88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88EC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88EC#FFFFFF#000000##000000
##AA88EC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#7299E9
Tritanopia (blue-blind)
#9D9AAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa88ec;
/* rgb */ color: rgb(170, 136, 236);
/* oklch */ color: oklch(69.9% 0.146 298.2);
Tailwind
colors: {
  custom: {
    50: '#c5abf2',
    500: '#aa88ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa88ec;
$custom-light: #c5abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88ec",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 260.4,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69897,
    "c": 0.14582,
    "h": 298.2
  },
  "luminance": 0.3221
}

Semantic roles & 50–950 ramp

primary
#AA88EC
secondary
#EAF2D9
accent
#D51192
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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