#AA7CD8#AA7CD8

#AA7CD8 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.140 H 306.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AA7CD8
RGBrgb(170, 124, 216)
HSLhsl(270, 54%, 67%)
HSVhsv(270, 43%, 85%)
CMYKcmyk(21.3%, 42.6%, 0%, 15.3%)
CIE-LABlab(59.82, 35.56, -40.60)
CIE-LCHlch(59.82, 53.97, 311.22°)
OKLaboklab(66.8% 0.0822 -0.113)
OKLCHoklch(66.8% 0.14 306)
XYZxyz(36.1774, 27.9195, 68.4356)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CD8 #AAD87C
analogous
#7C7CD8 #AA7CD8 #D87CD8
triadic
#AA7CD8 #D8AA7C #7CD8AA
tetradic
#AA7CD8 #D87C7C #AAD87C #7CD8D8
square
#AA7CD8 #D87C7C #AAD87C #7CD8D8
split-complementary
#AA7CD8 #D8D87C #7CD87C
monochromatic
#6D32A8 #8B4DCA #AA7CD8 #C9ABE6 #E7DAF4

Accessibility & contrast

On white

3.19
#AA7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AA7CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CD8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CD8#FFFFFF#000000##000000
##AA7CD81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#668FDB
Deuteranopia (green-blind)
#7190D6
Tritanopia (blue-blind)
#A38BA0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7cd8;
/* rgb */ color: rgb(170, 124, 216);
/* oklch */ color: oklch(66.8% 0.140 306.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2e4',
    500: '#aa7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cd8;
$custom-light: #c5a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cd8",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 270,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66799,
    "c": 0.13975,
    "h": 306
  },
  "luminance": 0.27919
}

Semantic roles & 50–950 ramp

primary
#AA7CD8
secondary
#D8E7C9
accent
#C22473
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F15
muted
#827F84

Preview Lab

Preview with #AA7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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