#AA70F8#AA70F8

#AA70F8 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.197 H 300.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA70F8
RGBrgb(170, 112, 248)
HSLhsl(266, 91%, 71%)
HSVhsv(266, 55%, 97%)
CMYKcmyk(31.5%, 54.8%, 0%, 2.7%)
CIE-LABlab(58.89, 49.72, -59.89)
CIE-LCHlch(58.89, 77.84, 309.70°)
OKLaboklab(66.65% 0.1012 -0.1693)
OKLCHoklch(66.65% 0.197 300.9)
XYZxyz(39.3110, 26.9115, 91.9121)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70F8 #BEF870
analogous
#707AF8 #AA70F8 #EE70F8
triadic
#AA70F8 #F8AA70 #70F8AA
tetradic
#AA70F8 #F8707A #BEF870 #70F8EE
square
#AA70F8 #F8707A #BEF870 #70F8EE
split-complementary
#AA70F8 #F8EE70 #7AF870
monochromatic
#670BE3 #8736F5 #AA70F8 #CDAAFB #EEE2FE

Accessibility & contrast

On white

3.29
#AA70F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AA70F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70F8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70F8#FFFFFF#000000##000000
##AA70F81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#9A8BA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa70f8;
/* rgb */ color: rgb(170, 112, 248);
/* oklch */ color: oklch(66.7% 0.197 300.9);
Tailwind
colors: {
  custom: {
    50: '#c79bfb',
    500: '#aa70f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa70f8;
$custom-light: #c79bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70f8",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 265.588,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.19724,
    "h": 300.9
  },
  "luminance": 0.26912
}

Semantic roles & 50–950 ramp

primary
#AA70F8
secondary
#E5F4CF
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA70F8

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

Preview Lab → · Contrast checker → · Palette generator →

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