#AA88DB#AA88DB

#AA88DB is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.0% C 0.124 H 302.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AA88DB
RGBrgb(170, 136, 219)
HSLhsl(265, 54%, 70%)
HSVhsv(265, 38%, 86%)
CMYKcmyk(22.4%, 37.9%, 0%, 14.1%)
CIE-LABlab(62.73, 29.51, -37.71)
CIE-LCHlch(62.73, 47.88, 308.04°)
OKLaboklab(69.05% 0.0658 -0.1047)
OKLCHoklch(69.05% 0.124 302.1)
XYZxyz(38.1652, 31.2688, 71.0289)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA88DB #B9DB88
analogous
#8890DB #AA88DB #D388DB
triadic
#AA88DB #DBAA88 #88DBAA
tetradic
#AA88DB #DB8890 #B9DB88 #88DBD3
square
#AA88DB #DB8890 #B9DB88 #88DBD3
split-complementary
#AA88DB #DBD388 #90DB88
monochromatic
#6936B3 #8859CD #AA88DB #CCB7E9 #EDE6F7

Accessibility & contrast

On white

2.90
#AA88DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AA88DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA88DB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA88DB#FFFFFF#000000##000000
##AA88DB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#A295A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa88db;
/* rgb */ color: rgb(170, 136, 219);
/* oklch */ color: oklch(69.0% 0.124 302.1);
Tailwind
colors: {
  custom: {
    50: '#c4abe6',
    500: '#aa88db',
    950: '#000000',
  },
}
SCSS
$custom: #aa88db;
$custom-light: #c4abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa88db",
  "rgb": {
    "r": 170,
    "g": 136,
    "b": 219
  },
  "hsl": {
    "h": 264.578,
    "s": 53.548,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69049,
    "c": 0.12368,
    "h": 302.1
  },
  "luminance": 0.31269
}

Semantic roles & 50–950 ramp

primary
#AA88DB
secondary
#E2EBD4
accent
#C12481
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA88DB

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

Preview Lab → · Contrast checker → · Palette generator →

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