#AA88EF#AA88EF

#AA88EF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.150 H 297.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AA88EF
RGBrgb(170, 136, 239)
HSLhsl(260, 76%, 74%)
HSVhsv(260, 43%, 94%)
CMYKcmyk(28.9%, 43.1%, 0%, 6.3%)
CIE-LABlab(63.66, 34.30, -47.34)
CIE-LCHlch(63.66, 58.46, 305.92°)
OKLaboklab(70.05% 0.0694 -0.1326)
OKLCHoklch(70.05% 0.15 297.6)
XYZxyz(40.9580, 32.3860, 85.7379)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88EF #CDEF88
analogous
#8899EF #AA88EF #DD88EF
triadic
#AA88EF #EFAA88 #88EFAA
tetradic
#AA88EF #EF8899 #CDEF88 #88EFDD
square
#AA88EF #EF8899 #CDEF88 #88EFDD
split-complementary
#AA88EF #EFDD88 #99EF88
monochromatic
#5E1EDF #8352E8 #AA88EF #D1BEF6 #ECE4FB

Accessibility & contrast

On white

2.81
#AA88EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AA88EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88EF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88EF#FFFFFF#000000##000000
##AA88EF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#9C9AB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa88ef;
/* rgb */ color: rgb(170, 136, 239);
/* oklch */ color: oklch(70.1% 0.150 297.6);
Tailwind
colors: {
  custom: {
    50: '#c5abf4',
    500: '#aa88ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa88ef;
$custom-light: #c5abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88ef",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 259.806,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.14971,
    "h": 297.6
  },
  "luminance": 0.32386
}

Semantic roles & 50–950 ramp

primary
#AA88EF
secondary
#EAF3D8
accent
#D80D95
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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