#AA7FD2#AA7FD2

#AA7FD2 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.0% C 0.127 H 307.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AA7FD2
RGBrgb(170, 127, 210)
HSLhsl(271, 48%, 66%)
HSVhsv(271, 40%, 82%)
CMYKcmyk(19%, 39.5%, 0%, 17.6%)
CIE-LABlab(60.23, 32.51, -36.59)
CIE-LCHlch(60.23, 48.94, 311.63°)
OKLaboklab(67.02% 0.0768 -0.1015)
OKLCHoklch(67.02% 0.127 307.1)
XYZxyz(35.7975, 28.3782, 64.5520)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FD2 #A7D27F
analogous
#807FD2 #AA7FD2 #D27FD0
triadic
#AA7FD2 #D2AA7F #7FD2AA
tetradic
#AA7FD2 #D2807F #A7D27F #7FD0D2
square
#AA7FD2 #D2807F #A7D27F #7FD0D2
split-complementary
#AA7FD2 #D0D27F #7FD280
monochromatic
#6D389F #8C52C2 #AA7FD2 #C8ACE2 #E6DAF2

Accessibility & contrast

On white

3.15
#AA7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AA7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FD2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FD2#FFFFFF#000000##000000
##AA7FD21.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D5
Deuteranopia (green-blind)
#7792D0
Tritanopia (blue-blind)
#A48C9F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa7fd2;
/* rgb */ color: rgb(170, 127, 210);
/* oklch */ color: oklch(67.0% 0.127 307.1);
Tailwind
colors: {
  custom: {
    50: '#c4a4e0',
    500: '#aa7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fd2;
$custom-light: #c4a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fd2",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 271.084,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67021,
    "c": 0.12724,
    "h": 307.1
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#AA7FD2
secondary
#D6E4C9
accent
#BB2A70
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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