#AA7BCC#AA7BCC

#AA7BCC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.0% C 0.127 H 310.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AA7BCC
RGBrgb(170, 123, 204)
HSLhsl(275, 44%, 64%)
HSVhsv(275, 40%, 80%)
CMYKcmyk(16.7%, 39.7%, 0%, 20%)
CIE-LABlab(59.04, 33.41, -35.06)
CIE-LCHlch(59.04, 48.43, 313.62°)
OKLaboklab(66.04% 0.0813 -0.0971)
OKLCHoklch(66.04% 0.127 310)
XYZxyz(34.5576, 27.0721, 60.5200)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BCC #9DCC7B
analogous
#827BCC #AA7BCC #CC7BC6
triadic
#AA7BCC #CCAA7B #7BCCAA
tetradic
#AA7BCC #CC827B #9DCC7B #7BC6CC
square
#AA7BCC #CC827B #9DCC7B #7BC6CC
split-complementary
#AA7BCC #C6CC7B #7BCC82
monochromatic
#6E3994 #8E4FBB #AA7BCC #C6A7DD #E3D3EE

Accessibility & contrast

On white

3.27
#AA7BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AA7BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BCC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BCC#FFFFFF#000000##000000
##AA7BCC1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#A6879A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa7bcc;
/* rgb */ color: rgb(170, 123, 204);
/* oklch */ color: oklch(66.0% 0.127 310.0);
Tailwind
colors: {
  custom: {
    50: '#c4a2dc',
    500: '#aa7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bcc;
$custom-light: #c4a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bcc",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 274.815,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.12664,
    "h": 310
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#AA7BCC
secondary
#CFE0C3
accent
#B72E68
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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