#AA7CD2#AA7CD2

#AA7CD2 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.132 H 307.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AA7CD2
RGBrgb(170, 124, 210)
HSLhsl(272, 49%, 65%)
HSVhsv(272, 41%, 82%)
CMYKcmyk(19%, 41%, 0%, 17.6%)
CIE-LABlab(59.54, 34.20, -37.66)
CIE-LCHlch(59.54, 50.87, 312.24°)
OKLaboklab(66.5% 0.0811 -0.1046)
OKLCHoklch(66.5% 0.132 307.8)
XYZxyz(35.4158, 27.6148, 64.4247)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CD2 #A4D27C
analogous
#7F7CD2 #AA7CD2 #D27CCF
triadic
#AA7CD2 #D2AA7C #7CD2AA
tetradic
#AA7CD2 #D27F7C #A4D27C #7CCFD2
square
#AA7CD2 #D27F7C #A4D27C #7CCFD2
split-complementary
#AA7CD2 #CFD27C #7CD27F
monochromatic
#6D369D #8C4EC2 #AA7CD2 #C8AAE2 #E5D7F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA7CD2#FFFFFF#000000##000000
##AA7CD21.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)
#698ED5
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#A5899D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa7cd2;
/* rgb */ color: rgb(170, 124, 210);
/* oklch */ color: oklch(66.5% 0.132 307.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2e0',
    500: '#aa7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7cd2;
$custom-light: #c5a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7cd2",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 272.093,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.665,
    "c": 0.13232,
    "h": 307.8
  },
  "luminance": 0.27614
}

Semantic roles & 50–950 ramp

primary
#AA7CD2
secondary
#D4E3C6
accent
#BC296E
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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