#AA71F8#AA71F8

#AA71F8 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.196 H 300.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AA71F8
RGBrgb(170, 113, 248)
HSLhsl(265, 91%, 71%)
HSVhsv(265, 54%, 97%)
CMYKcmyk(31.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(59.10, 49.18, -59.56)
CIE-LCHlch(59.10, 77.25, 309.55°)
OKLaboklab(66.8% 0.1 -0.1683)
OKLCHoklch(66.8% 0.196 300.7)
XYZxyz(39.4220, 27.1334, 91.9491)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F8 #BFF871
analogous
#717BF8 #AA71F8 #ED71F8
triadic
#AA71F8 #F8AA71 #71F8AA
tetradic
#AA71F8 #F8717B #BFF871 #71F8ED
square
#AA71F8 #F8717B #BFF871 #71F8ED
split-complementary
#AA71F8 #F8ED71 #7BF871
monochromatic
#660BE3 #8737F5 #AA71F8 #CDABFB #EEE2FE

Accessibility & contrast

On white

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

On black

6.43
#AA71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F8#FFFFFF#000000##000000
##AA71F81.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFD
Deuteranopia (green-blind)
#4E8DF5
Tritanopia (blue-blind)
#9A8CAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa71f8;
/* rgb */ color: rgb(170, 113, 248);
/* oklch */ color: oklch(66.8% 0.196 300.7);
Tailwind
colors: {
  custom: {
    50: '#c79bfb',
    500: '#aa71f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f8;
$custom-light: #c79bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f8",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 265.333,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.19577,
    "h": 300.7
  },
  "luminance": 0.27134
}

Semantic roles & 50–950 ramp

primary
#AA71F8
secondary
#E5F5D0
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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