#AA70EF#AA70EF

#AA70EF is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.187 H 302.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA70EF
RGBrgb(170, 112, 239)
HSLhsl(267, 80%, 69%)
HSVhsv(267, 53%, 94%)
CMYKcmyk(28.9%, 53.1%, 0%, 6.3%)
CIE-LABlab(58.38, 47.56, -55.72)
CIE-LCHlch(58.38, 73.25, 310.48°)
OKLaboklab(66.11% 0.1008 -0.1571)
OKLCHoklch(66.11% 0.187 302.7)
XYZxyz(37.9482, 26.3664, 84.7346)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70EF #B5EF70
analogous
#7076EF #AA70EF #EA70EF
triadic
#AA70EF #EFAA70 #70EFAA
tetradic
#AA70EF #EF7076 #B5EF70 #70EFEA
square
#AA70EF #EF7076 #B5EF70 #70EFEA
split-complementary
#AA70EF #EFEA70 #76EF70
monochromatic
#6A17CE #8939E9 #AA70EF #CBA7F5 #EBDEFB

Accessibility & contrast

On white

3.35
#AA70EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AA70EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70EF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70EF#FFFFFF#000000##000000
##AA70EF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#9D88A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa70ef;
/* rgb */ color: rgb(170, 112, 239);
/* oklch */ color: oklch(66.1% 0.187 302.7);
Tailwind
colors: {
  custom: {
    50: '#c79bf5',
    500: '#aa70ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa70ef;
$custom-light: #c79bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70ef",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 267.402,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.18664,
    "h": 302.7
  },
  "luminance": 0.26366
}

Semantic roles & 50–950 ramp

primary
#AA70EF
secondary
#DFF0CB
accent
#DC097C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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