#AA71CD#AA71CD

#AA71CD is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.4% C 0.145 H 311.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA71CD
RGBrgb(170, 113, 205)
HSLhsl(277, 48%, 62%)
HSVhsv(277, 45%, 80%)
CMYKcmyk(17.1%, 44.9%, 0%, 19.6%)
CIE-LABlab(56.85, 39.20, -39.06)
CIE-LCHlch(56.85, 55.34, 315.10°)
OKLaboklab(64.4% 0.0959 -0.1086)
OKLCHoklch(64.4% 0.145 311.5)
XYZxyz(33.5002, 24.7647, 60.7611)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71CD #94CD71
analogous
#7C71CD #AA71CD #CD71C2
triadic
#AA71CD #CDAA71 #71CDAA
tetradic
#AA71CD #CD7C71 #94CD71 #71C2CD
square
#AA71CD #CD7C71 #94CD71 #71C2CD
split-complementary
#AA71CD #C2CD71 #71CD7C
monochromatic
#6D3391 #8F44BD #AA71CD #C59EDD #E0CCED

Accessibility & contrast

On white

3.53
#AA71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#AA71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71CD#FFFFFF#000000##000000
##AA71CD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#6C8ACA
Tritanopia (blue-blind)
#A67F95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa71cd;
/* rgb */ color: rgb(170, 113, 205);
/* oklch */ color: oklch(64.4% 0.145 311.5);
Tailwind
colors: {
  custom: {
    50: '#c59bdc',
    500: '#aa71cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa71cd;
$custom-light: #c59bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71cd",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 277.174,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64401,
    "c": 0.14487,
    "h": 311.5
  },
  "luminance": 0.24764
}

Semantic roles & 50–950 ramp

primary
#AA71CD
secondary
#C9DEBC
accent
#BB2A61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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