#AA70BB#AA70BB

#AA70BB is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.4% C 0.126 H 318.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA70BB
RGBrgb(170, 112, 187)
HSLhsl(286, 36%, 59%)
HSVhsv(286, 40%, 73%)
CMYKcmyk(9.1%, 40.1%, 0%, 26.7%)
CIE-LABlab(55.81, 35.90, -30.42)
CIE-LCHlch(55.81, 47.06, 319.73°)
OKLaboklab(63.36% 0.094 -0.0837)
OKLCHoklch(63.36% 0.126 318.3)
XYZxyz(31.3401, 23.7232, 49.9322)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70BB #81BB70
analogous
#8470BB #AA70BB #BB70A6
triadic
#AA70BB #BBAA70 #70BBAA
tetradic
#AA70BB #BB8470 #81BB70 #70A6BB
square
#AA70BB #BB8470 #81BB70 #70A6BB
split-complementary
#AA70BB #A6BB70 #70BB84
monochromatic
#693978 #8E4DA1 #AA70BB #C399CF #DBC3E2

Accessibility & contrast

On white

3.66
#AA70BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AA70BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70BB#FFFFFF#000000##000000
##AA70BB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#AA798D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa70bb;
/* rgb */ color: rgb(170, 112, 187);
/* oklch */ color: oklch(63.4% 0.126 318.3);
Tailwind
colors: {
  custom: {
    50: '#c49acf',
    500: '#aa70bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa70bb;
$custom-light: #c49acf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70bb",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 286.4,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63357,
    "c": 0.12588,
    "h": 318.3
  },
  "luminance": 0.23722
}

Semantic roles & 50–950 ramp

primary
#AA70BB
secondary
#BBD2B5
accent
#CC5C75
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA70BB

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

Preview Lab → · Contrast checker → · Palette generator →

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