#AA70F2#AA70F2

#AA70F2 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.190 H 302.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA70F2
RGBrgb(170, 112, 242)
HSLhsl(267, 83%, 69%)
HSVhsv(267, 54%, 95%)
CMYKcmyk(29.8%, 53.7%, 0%, 5.1%)
CIE-LABlab(58.55, 48.27, -57.11)
CIE-LCHlch(58.55, 74.78, 310.21°)
OKLaboklab(66.29% 0.101 -0.1611)
OKLCHoklch(66.29% 0.19 302.1)
XYZxyz(38.3951, 26.5451, 87.0881)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70F2 #B8F270
analogous
#7077F2 #AA70F2 #EB70F2
triadic
#AA70F2 #F2AA70 #70F2AA
tetradic
#AA70F2 #F27077 #B8F270 #70F2EB
square
#AA70F2 #F27077 #B8F270 #70F2EB
split-complementary
#AA70F2 #F2EB70 #77F270
monochromatic
#6913D4 #8938ED #AA70F2 #CBA8F7 #EDE0FC

Accessibility & contrast

On white

3.33
#AA70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AA70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70F2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70F2#FFFFFF#000000##000000
##AA70F21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#9C89A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa70f2;
/* rgb */ color: rgb(170, 112, 242);
/* oklch */ color: oklch(66.3% 0.190 302.1);
Tailwind
colors: {
  custom: {
    50: '#c79bf7',
    500: '#aa70f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa70f2;
$custom-light: #c79bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70f2",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 266.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.19017,
    "h": 302.1
  },
  "luminance": 0.26545
}

Semantic roles & 50–950 ramp

primary
#AA70F2
secondary
#E1F2CC
accent
#E0067E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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