#AA7FC2#AA7FC2

#AA7FC2 is a light, moderate violet. Relative luminance 0.276; OKLCH L 66.3% C 0.107 H 312.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AA7FC2
RGBrgb(170, 127, 194)
HSLhsl(279, 35%, 63%)
HSVhsv(279, 35%, 76%)
CMYKcmyk(12.4%, 34.5%, 0%, 23.9%)
CIE-LABlab(59.54, 28.98, -28.62)
CIE-LCHlch(59.54, 40.73, 315.35°)
OKLaboklab(66.28% 0.0732 -0.0786)
OKLCHoklch(66.28% 0.107 312.9)
XYZxyz(33.9029, 27.6204, 54.5738)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FC2 #97C27F
analogous
#887FC2 #AA7FC2 #C27FB9
triadic
#AA7FC2 #C2AA7F #7FC2AA
tetradic
#AA7FC2 #C2887F #97C27F #7FB9C2
square
#AA7FC2 #C2887F #97C27F #7FB9C2
split-complementary
#AA7FC2 #B9C27F #7FC288
monochromatic
#6D4087 #8E56AE #AA7FC2 #C6A8D6 #E1D2EA

Accessibility & contrast

On white

3.22
#AA7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AA7FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FC2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FC2#FFFFFF#000000##000000
##AA7FC21.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#7E90C0
Tritanopia (blue-blind)
#A88898
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7fc2;
/* rgb */ color: rgb(170, 127, 194);
/* oklch */ color: oklch(66.3% 0.107 312.9);
Tailwind
colors: {
  custom: {
    50: '#c4a4d4',
    500: '#aa7fc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fc2;
$custom-light: #c4a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fc2",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 278.507,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66277,
    "c": 0.10743,
    "h": 312.9
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#AA7FC2
secondary
#CBDAC2
accent
#AE3762
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83

Preview Lab

Preview with #AA7FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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