#AA7DCA#AA7DCA

#AA7DCA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.3% C 0.121 H 310.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AA7DCA
RGBrgb(170, 125, 202)
HSLhsl(275, 42%, 64%)
HSVhsv(275, 38%, 79%)
CMYKcmyk(15.8%, 38.1%, 0%, 20.8%)
CIE-LABlab(59.41, 31.85, -33.35)
CIE-LCHlch(59.41, 46.11, 313.68°)
OKLaboklab(66.29% 0.078 -0.0921)
OKLCHoklch(66.29% 0.121 310.2)
XYZxyz(34.5699, 27.4780, 59.3483)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7DCA #9DCA7D
analogous
#847DCA #AA7DCA #CA7DC4
triadic
#AA7DCA #CAAA7D #7DCAAA
tetradic
#AA7DCA #CA847D #9DCA7D #7DC4CA
square
#AA7DCA #CA847D #9DCA7D #7DC4CA
split-complementary
#AA7DCA #C4CA7D #7DCA84
monochromatic
#6E3B91 #8E52B8 #AA7DCA #C6A8DC #E3D4ED

Accessibility & contrast

On white

3.23
#AA7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AA7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7DCA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7DCA#FFFFFF#000000##000000
##AA7DCA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#A6889A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7dca;
/* rgb */ color: rgb(170, 125, 202);
/* oklch */ color: oklch(66.3% 0.121 310.2);
Tailwind
colors: {
  custom: {
    50: '#c4a3da',
    500: '#aa7dca',
    950: '#000000',
  },
}
SCSS
$custom: #aa7dca;
$custom-light: #c4a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7dca",
  "rgb": {
    "r": 170,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 275.065,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66289,
    "c": 0.12073,
    "h": 310.2
  },
  "luminance": 0.27478
}

Semantic roles & 50–950 ramp

primary
#AA7DCA
secondary
#CFDFC4
accent
#B53068
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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