#AA70EB#AA70EB

#AA70EB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.182 H 303.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA70EB
RGBrgb(170, 112, 235)
HSLhsl(268, 75%, 68%)
HSVhsv(268, 52%, 92%)
CMYKcmyk(27.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(58.16, 46.61, -53.84)
CIE-LCHlch(58.16, 71.21, 310.88°)
OKLaboklab(65.88% 0.1006 -0.1516)
OKLCHoklch(65.88% 0.182 303.6)
XYZxyz(37.3638, 26.1326, 81.6568)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70EB #B1EB70
analogous
#7073EB #AA70EB #E870EB
triadic
#AA70EB #EBAA70 #70EBAA
tetradic
#AA70EB #EB7073 #B1EB70 #70EBE8
square
#AA70EB #EB7073 #B1EB70 #70EBE8
split-complementary
#AA70EB #EBE870 #73EB70
monochromatic
#6B1CC5 #8A3AE3 #AA70EB #CAA6F3 #EADBFA

Accessibility & contrast

On white

3.37
#AA70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#AA70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70EB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70EB#FFFFFF#000000##000000
##AA70EB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#9E87A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa70eb;
/* rgb */ color: rgb(170, 112, 235);
/* oklch */ color: oklch(65.9% 0.182 303.6);
Tailwind
colors: {
  custom: {
    50: '#c69bf2',
    500: '#aa70eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa70eb;
$custom-light: #c69bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70eb",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 268.293,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.18192,
    "h": 303.6
  },
  "luminance": 0.26133
}

Semantic roles & 50–950 ramp

primary
#AA70EB
secondary
#DCEEC9
accent
#D80E78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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