#AA77CB#AA77CB

#AA77CB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.3% C 0.132 H 311.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA77CB
RGBrgb(170, 119, 203)
HSLhsl(276, 45%, 63%)
HSVhsv(276, 41%, 80%)
CMYKcmyk(16.3%, 41.4%, 0%, 20.4%)
CIE-LABlab(58.09, 35.43, -35.99)
CIE-LCHlch(58.09, 50.50, 314.56°)
OKLaboklab(65.3% 0.087 -0.0997)
OKLCHoklch(65.3% 0.132 311.1)
XYZxyz(33.9520, 26.0521, 59.7283)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77CB #98CB77
analogous
#8077CB #AA77CB #CB77C2
triadic
#AA77CB #CBAA77 #77CBAA
tetradic
#AA77CB #CB8077 #98CB77 #77C2CB
square
#AA77CB #CB8077 #98CB77 #77C2CB
split-complementary
#AA77CB #C2CB77 #77CB80
monochromatic
#6D3790 #8E4BBA #AA77CB #C6A3DC #E1D0ED

Accessibility & contrast

On white

3.38
#AA77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AA77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77CB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77CB#FFFFFF#000000##000000
##AA77CB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#A68397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa77cb;
/* rgb */ color: rgb(170, 119, 203);
/* oklch */ color: oklch(65.3% 0.132 311.1);
Tailwind
colors: {
  custom: {
    50: '#c59fdb',
    500: '#aa77cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa77cb;
$custom-light: #c59fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77cb",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 276.429,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.13229,
    "h": 311.1
  },
  "luminance": 0.26051
}

Semantic roles & 50–950 ramp

primary
#AA77CB
secondary
#CCDEC0
accent
#B82E64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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