#AA71F2#AA71F2

#AA71F2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.189 H 301.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AA71F2
RGBrgb(170, 113, 242)
HSLhsl(267, 83%, 70%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29.8%, 53.3%, 0%, 5.1%)
CIE-LABlab(58.76, 47.74, -56.78)
CIE-LCHlch(58.76, 74.18, 310.05°)
OKLaboklab(66.44% 0.0997 -0.1602)
OKLCHoklch(66.44% 0.189 301.9)
XYZxyz(38.5060, 26.7670, 87.1251)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F2 #B9F271
analogous
#7178F2 #AA71F2 #EB71F2
triadic
#AA71F2 #F2AA71 #71F2AA
tetradic
#AA71F2 #F27178 #B9F271 #71F2EB
square
#AA71F2 #F27178 #B9F271 #71F2EB
split-complementary
#AA71F2 #F2EB71 #78F271
monochromatic
#6914D5 #8839ED #AA71F2 #CCA9F7 #EDE1FC

Accessibility & contrast

On white

3.31
#AA71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AA71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F2#FFFFFF#000000##000000
##AA71F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#538DEF
Tritanopia (blue-blind)
#9C8AA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa71f2;
/* rgb */ color: rgb(170, 113, 242);
/* oklch */ color: oklch(66.4% 0.189 301.9);
Tailwind
colors: {
  custom: {
    50: '#c79bf7',
    500: '#aa71f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f2;
$custom-light: #c79bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f2",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 266.512,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66444,
    "c": 0.18869,
    "h": 301.9
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

primary
#AA71F2
secondary
#E2F2CD
accent
#E0067F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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