#AA7FCA#AA7FCA

#AA7FCA is a light, moderate violet. Relative luminance 0.280; OKLCH L 66.6% C 0.117 H 309.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AA7FCA
RGBrgb(170, 127, 202)
HSLhsl(274, 41%, 65%)
HSVhsv(274, 37%, 79%)
CMYKcmyk(15.8%, 37.1%, 0%, 20.8%)
CIE-LABlab(59.88, 30.72, -32.62)
CIE-LCHlch(59.88, 44.81, 313.28°)
OKLaboklab(66.64% 0.0751 -0.0901)
OKLCHoklch(66.64% 0.117 309.8)
XYZxyz(34.8257, 27.9895, 59.4336)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FCA #9FCA7F
analogous
#857FCA #AA7FCA #CA7FC4
triadic
#AA7FCA #CAAA7F #7FCAAA
tetradic
#AA7FCA #CA857F #9FCA7F #7FC4CA
square
#AA7FCA #CA857F #9FCA7F #7FC4CA
split-complementary
#AA7FCA #C4CA7F #7FCA85
monochromatic
#6E3C92 #8D54B8 #AA7FCA #C7AADC #E3D6EE

Accessibility & contrast

On white

3.18
#AA7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#AA7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FCA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FCA#FFFFFF#000000##000000
##AA7FCA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ECD
Deuteranopia (green-blind)
#7A91C8
Tritanopia (blue-blind)
#A68A9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7fca;
/* rgb */ color: rgb(170, 127, 202);
/* oklch */ color: oklch(66.6% 0.117 309.8);
Tailwind
colors: {
  custom: {
    50: '#c4a4da',
    500: '#aa7fca',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fca;
$custom-light: #c4a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fca",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 274.4,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66642,
    "c": 0.11726,
    "h": 309.8
  },
  "luminance": 0.27989
}

Semantic roles & 50–950 ramp

primary
#AA7FCA
secondary
#D1DFC5
accent
#B43169
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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