#AA7BCE#AA7BCE

#AA7BCE is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.1% C 0.129 H 309.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AA7BCE
RGBrgb(170, 123, 206)
HSLhsl(274, 46%, 65%)
HSVhsv(274, 40%, 81%)
CMYKcmyk(17.5%, 40.3%, 0%, 19.2%)
CIE-LABlab(59.13, 33.86, -36.05)
CIE-LCHlch(59.13, 49.46, 313.20°)
OKLaboklab(66.13% 0.0817 -0.0999)
OKLCHoklch(66.13% 0.129 309.3)
XYZxyz(34.7990, 27.1686, 61.7914)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BCE #9FCE7B
analogous
#817BCE #AA7BCE #CE7BC8
triadic
#AA7BCE #CEAA7B #7BCEAA
tetradic
#AA7BCE #CE817B #9FCE7B #7BC8CE
square
#AA7BCE #CE817B #9FCE7B #7BC8CE
split-complementary
#AA7BCE #C8CE7B #7BCE81
monochromatic
#6E3897 #8D4EBD #AA7BCE #C7A8DF #E3D4EF

Accessibility & contrast

On white

3.26
#AA7BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AA7BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BCE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BCE#FFFFFF#000000##000000
##AA7BCE1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD1
Deuteranopia (green-blind)
#758FCC
Tritanopia (blue-blind)
#A6879B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa7bce;
/* rgb */ color: rgb(170, 123, 206);
/* oklch */ color: oklch(66.1% 0.129 309.3);
Tailwind
colors: {
  custom: {
    50: '#c4a2dd',
    500: '#aa7bce',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bce;
$custom-light: #c4a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bce",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 273.976,
    "s": 45.856,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.12909,
    "h": 309.3
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#AA7BCE
secondary
#D1E1C4
accent
#B92C69
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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