#AA70FB#AA70FB

#AA70FB is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 66.8% C 0.201 H 300.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AA70FB
RGBrgb(170, 112, 251)
HSLhsl(265, 95%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(32.3%, 55.4%, 0%, 1.6%)
CIE-LABlab(59.07, 50.45, -61.27)
CIE-LCHlch(59.07, 79.37, 309.47°)
OKLaboklab(66.84% 0.1013 -0.1733)
OKLCHoklch(66.84% 0.201 300.3)
XYZxyz(39.7802, 27.0992, 94.3830)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA70FB #C1FB70
analogous
#707BFB #AA70FB #EF70FB
triadic
#AA70FB #FBAA70 #70FBAA
tetradic
#AA70FB #FB707B #C1FB70 #70FBEF
square
#AA70FB #FB707B #C1FB70 #70FBEF
split-complementary
#AA70FB #FBEF70 #7BFB70
monochromatic
#6507EA #8734F9 #AA70FB #CDACFD #EDE1FE

Accessibility & contrast

On white

3.27
#AA70FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AA70FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA70FB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA70FB#FFFFFF#000000##000000
##AA70FB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#998CAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa70fb;
/* rgb */ color: rgb(170, 112, 251);
/* oklch */ color: oklch(66.8% 0.201 300.3);
Tailwind
colors: {
  custom: {
    50: '#c79bfd',
    500: '#aa70fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa70fb;
$custom-light: #c79bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa70fb",
  "rgb": {
    "r": 170,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 265.036,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66837,
    "c": 0.20075,
    "h": 300.3
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#AA70FB
secondary
#E6F6D1
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA70FB

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

Preview Lab → · Contrast checker → · Palette generator →

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