#AA7BDA#AA7BDA

#AA7BDA is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.7% C 0.144 H 305.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AA7BDA
RGBrgb(170, 123, 218)
HSLhsl(270, 56%, 67%)
HSVhsv(270, 44%, 85%)
CMYKcmyk(22%, 43.6%, 0%, 14.5%)
CIE-LABlab(59.68, 36.58, -41.93)
CIE-LCHlch(59.68, 55.65, 311.10°)
OKLaboklab(66.73% 0.0839 -0.1169)
OKLCHoklch(66.73% 0.144 305.7)
XYZxyz(36.3128, 27.7742, 69.7640)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BDA #ABDA7B
analogous
#7B7CDA #AA7BDA #D97BDA
triadic
#AA7BDA #DAAA7B #7BDAAA
tetradic
#AA7BDA #DA7B7C #ABDA7B #7BDAD9
square
#AA7BDA #DA7B7C #ABDA7B #7BDAD9
split-complementary
#AA7BDA #DAD97B #7CDA7B
monochromatic
#6D30AB #8B4BCD #AA7BDA #C9ABE7 #E8DBF5

Accessibility & contrast

On white

3.20
#AA7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AA7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BDA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BDA#FFFFFF#000000##000000
##AA7BDA1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#A38BA0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa7bda;
/* rgb */ color: rgb(170, 123, 218);
/* oklch */ color: oklch(66.7% 0.144 305.7);
Tailwind
colors: {
  custom: {
    50: '#c5a2e6',
    500: '#aa7bda',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bda;
$custom-light: #c5a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bda",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 269.684,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.14389,
    "h": 305.7
  },
  "luminance": 0.27774
}

Semantic roles & 50–950 ramp

primary
#AA7BDA
secondary
#D9E8C9
accent
#C42274
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AA7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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