#AA7BCA#AA7BCA

#AA7BCA is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.9% C 0.124 H 310.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AA7BCA
RGBrgb(170, 123, 202)
HSLhsl(276, 43%, 64%)
HSVhsv(276, 39%, 79%)
CMYKcmyk(15.8%, 39.1%, 0%, 20.8%)
CIE-LABlab(58.95, 32.97, -34.07)
CIE-LCHlch(58.95, 47.41, 314.06°)
OKLaboklab(65.94% 0.0809 -0.0942)
OKLCHoklch(65.94% 0.124 310.7)
XYZxyz(34.3193, 26.9767, 59.2648)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7BCA #9BCA7B
analogous
#827BCA #AA7BCA #CA7BC2
triadic
#AA7BCA #CAAA7B #7BCAAA
tetradic
#AA7BCA #CA827B #9BCA7B #7BC2CA
square
#AA7BCA #CA827B #9BCA7B #7BC2CA
split-complementary
#AA7BCA #C2CA7B #7BCA82
monochromatic
#6E3A91 #8E4FB8 #AA7BCA #C6A7DC #E2D2ED

Accessibility & contrast

On white

3.28
#AA7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AA7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7BCA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7BCA#FFFFFF#000000##000000
##AA7BCA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#A78699
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa7bca;
/* rgb */ color: rgb(170, 123, 202);
/* oklch */ color: oklch(65.9% 0.124 310.7);
Tailwind
colors: {
  custom: {
    50: '#c4a2da',
    500: '#aa7bca',
    950: '#000000',
  },
}
SCSS
$custom: #aa7bca;
$custom-light: #c4a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7bca",
  "rgb": {
    "r": 170,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 275.696,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.12419,
    "h": 310.7
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#AA7BCA
secondary
#CEDEC2
accent
#B63066
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AA7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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