#AA71CF#AA71CF

#AA71CF is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.147 H 310.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA71CF
RGBrgb(170, 113, 207)
HSLhsl(276, 49%, 63%)
HSVhsv(276, 45%, 81%)
CMYKcmyk(17.9%, 45.4%, 0%, 18.8%)
CIE-LABlab(56.94, 39.64, -40.05)
CIE-LCHlch(56.94, 56.35, 314.71°)
OKLaboklab(64.5% 0.0962 -0.1114)
OKLCHoklch(64.5% 0.147 310.8)
XYZxyz(33.7431, 24.8619, 62.0406)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71CF #96CF71
analogous
#7B71CF #AA71CF #CF71C5
triadic
#AA71CF #CFAA71 #71CFAA
tetradic
#AA71CF #CF7B71 #96CF71 #71C5CF
square
#AA71CF #CF7B71 #96CF71 #71C5CF
split-complementary
#AA71CF #C5CF71 #71CF7B
monochromatic
#6D3294 #8F43C0 #AA71CF #C59FDE #E1CCEE

Accessibility & contrast

On white

3.52
#AA71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AA71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71CF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71CF#FFFFFF#000000##000000
##AA71CF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#6B8ACC
Tritanopia (blue-blind)
#A68096
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa71cf;
/* rgb */ color: rgb(170, 113, 207);
/* oklch */ color: oklch(64.5% 0.147 310.8);
Tailwind
colors: {
  custom: {
    50: '#c59bde',
    500: '#aa71cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa71cf;
$custom-light: #c59bde;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71cf",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 276.383,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64504,
    "c": 0.14721,
    "h": 310.8
  },
  "luminance": 0.24861
}

Semantic roles & 50–950 ramp

primary
#AA71CF
secondary
#CADFBD
accent
#BD2963
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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