#AA70DC#AA70DC

#AA70DC is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.0% C 0.164 H 307.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA70DC
RGBrgb(170, 112, 220)
HSLhsl(272, 61%, 65%)
HSVhsv(272, 49%, 86%)
CMYKcmyk(22.7%, 49.1%, 0%, 13.7%)
CIE-LABlab(57.37, 43.12, -46.71)
CIE-LCHlch(57.37, 63.57, 312.71°)
OKLaboklab(65.03% 0.0993 -0.1307)
OKLCHoklch(65.03% 0.164 307.2)
XYZxyz(35.2874, 25.3021, 70.7211)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70DC #A2DC70
analogous
#7470DC #AA70DC #DC70D8
triadic
#AA70DC #DCAA70 #70DCAA
tetradic
#AA70DC #DC7470 #A2DC70 #70D8DC
square
#AA70DC #DC7470 #A2DC70 #70D8DC
split-complementary
#AA70DC #D8DC70 #70DC74
monochromatic
#6E29A8 #8D3FD0 #AA70DC #C7A1E8 #E4D2F4

Accessibility & contrast

On white

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

On black

6.06
#AA70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70DC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70DC#FFFFFF#000000##000000
##AA70DC1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E0
Deuteranopia (green-blind)
#638AD9
Tritanopia (blue-blind)
#A3829C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa70dc;
/* rgb */ color: rgb(170, 112, 220);
/* oklch */ color: oklch(65.0% 0.164 307.2);
Tailwind
colors: {
  custom: {
    50: '#c69ae7',
    500: '#aa70dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa70dc;
$custom-light: #c69ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70dc",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 272.222,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65033,
    "c": 0.16419,
    "h": 307.2
  },
  "luminance": 0.25302
}

Semantic roles & 50–950 ramp

primary
#AA70DC
secondary
#D3E6C2
accent
#C81D6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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