#AA88DC#AA88DC

#AA88DC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.1% C 0.125 H 301.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AA88DC
RGBrgb(170, 136, 220)
HSLhsl(264, 55%, 70%)
HSVhsv(264, 38%, 86%)
CMYKcmyk(22.7%, 38.2%, 0%, 13.7%)
CIE-LABlab(62.78, 29.74, -38.20)
CIE-LCHlch(62.78, 48.41, 307.90°)
OKLaboklab(69.1% 0.066 -0.1061)
OKLCHoklch(69.1% 0.125 301.9)
XYZxyz(38.2972, 31.3216, 71.7243)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88DC #BADC88
analogous
#8890DC #AA88DC #D488DC
triadic
#AA88DC #DCAA88 #88DCAA
tetradic
#AA88DC #DC8890 #BADC88 #88DCD4
square
#AA88DC #DC8890 #BADC88 #88DCD4
split-complementary
#AA88DC #DCD488 #90DC88
monochromatic
#6935B5 #8859CE #AA88DC #CCB7EA #EEE7F8

Accessibility & contrast

On white

2.89
#AA88DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AA88DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88DC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88DC#FFFFFF#000000##000000
##AA88DC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DF
Deuteranopia (green-blind)
#7B98DA
Tritanopia (blue-blind)
#A196A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa88dc;
/* rgb */ color: rgb(170, 136, 220);
/* oklch */ color: oklch(69.1% 0.125 301.9);
Tailwind
colors: {
  custom: {
    50: '#c5abe7',
    500: '#aa88dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa88dc;
$custom-light: #c5abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88dc",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 264.286,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69097,
    "c": 0.12498,
    "h": 301.9
  },
  "luminance": 0.31322
}

Semantic roles & 50–950 ramp

primary
#AA88DC
secondary
#E2ECD4
accent
#C22382
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA88DC

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

Preview Lab → · Contrast checker → · Palette generator →

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