#AA7BCD#AA7BCD

#AA7BCD is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.1% C 0.128 H 309.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AA7BCD
RGBrgb(170, 123, 205)
HSLhsl(274, 45%, 64%)
HSVhsv(274, 40%, 80%)
CMYKcmyk(17.1%, 40%, 0%, 19.6%)
CIE-LABlab(59.09, 33.64, -35.56)
CIE-LCHlch(59.09, 48.94, 313.41°)
OKLaboklab(66.08% 0.0815 -0.0985)
OKLCHoklch(66.08% 0.128 309.6)
XYZxyz(34.6779, 27.1202, 61.1537)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BCD #9ECD7B
analogous
#817BCD #AA7BCD #CD7BC7
triadic
#AA7BCD #CDAA7B #7BCDAA
tetradic
#AA7BCD #CD817B #9ECD7B #7BC7CD
square
#AA7BCD #CD817B #9ECD7B #7BC7CD
split-complementary
#AA7BCD #C7CD7B #7BCD81
monochromatic
#6E3895 #8D4FBC #AA7BCD #C7A7DE #E3D4EF

Accessibility & contrast

On white

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

On black

6.42
#AA7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BCD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BCD#FFFFFF#000000##000000
##AA7BCD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#758FCB
Tritanopia (blue-blind)
#A6879A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa7bcd;
/* rgb */ color: rgb(170, 123, 205);
/* oklch */ color: oklch(66.1% 0.128 309.6);
Tailwind
colors: {
  custom: {
    50: '#c4a2dc',
    500: '#aa7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bcd;
$custom-light: #c4a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bcd",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 274.39,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66084,
    "c": 0.12786,
    "h": 309.6
  },
  "luminance": 0.2712
}

Semantic roles & 50–950 ramp

primary
#AA7BCD
secondary
#D0E0C4
accent
#B82D69
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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