#AA70DB#AA70DB

#AA70DB is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.163 H 307.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA70DB
RGBrgb(170, 112, 219)
HSLhsl(273, 60%, 65%)
HSVhsv(273, 49%, 86%)
CMYKcmyk(22.4%, 48.9%, 0%, 14.1%)
CIE-LABlab(57.32, 42.89, -46.23)
CIE-LCHlch(57.32, 63.06, 312.86°)
OKLaboklab(64.98% 0.0992 -0.1293)
OKLCHoklch(64.98% 0.163 307.5)
XYZxyz(35.1554, 25.2492, 70.0257)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70DB #A1DB70
analogous
#7470DB #AA70DB #DB70D7
triadic
#AA70DB #DBAA70 #70DBAA
tetradic
#AA70DB #DB7470 #A1DB70 #70D7DB
square
#AA70DB #DB7470 #A1DB70 #70D7DB
split-complementary
#AA70DB #D7DB70 #70DB74
monochromatic
#6E2AA7 #8D3FCF #AA70DB #C7A1E7 #E4D2F4

Accessibility & contrast

On white

3.47
#AA70DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AA70DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70DB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70DB#FFFFFF#000000##000000
##AA70DB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DF
Deuteranopia (green-blind)
#638AD8
Tritanopia (blue-blind)
#A3829B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa70db;
/* rgb */ color: rgb(170, 112, 219);
/* oklch */ color: oklch(65.0% 0.163 307.5);
Tailwind
colors: {
  custom: {
    50: '#c59ae6',
    500: '#aa70db',
    950: '#000000',
  },
}
SCSS
$custom: #aa70db;
$custom-light: #c59ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70db",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 272.523,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.16301,
    "h": 307.5
  },
  "luminance": 0.25249
}

Semantic roles & 50–950 ramp

primary
#AA70DB
secondary
#D2E6C1
accent
#C71E6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA70DB

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

Preview Lab → · Contrast checker → · Palette generator →

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