#AA77F2#AA77F2

#AA77F2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.180 H 300.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AA77F2
RGBrgb(170, 119, 242)
HSLhsl(265, 83%, 71%)
HSVhsv(265, 51%, 95%)
CMYKcmyk(29.8%, 50.8%, 0%, 5.1%)
CIE-LABlab(60.02, 44.48, -54.76)
CIE-LCHlch(60.02, 70.55, 309.08°)
OKLaboklab(67.38% 0.0921 -0.1543)
OKLCHoklch(67.38% 0.18 300.8)
XYZxyz(39.1977, 28.1503, 87.3557)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77F2 #BFF277
analogous
#7781F2 #AA77F2 #E777F2
triadic
#AA77F2 #F2AA77 #77F2AA
tetradic
#AA77F2 #F27781 #BFF277 #77F2E7
square
#AA77F2 #F27781 #BFF277 #77F2E7
split-complementary
#AA77F2 #F2E777 #81F277
monochromatic
#6615DA #873FED #AA77F2 #CDAFF7 #EEE3FC

Accessibility & contrast

On white

3.17
#AA77F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AA77F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77F2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77F2#FFFFFF#000000##000000
##AA77F21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#9C8EA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa77f2;
/* rgb */ color: rgb(170, 119, 242);
/* oklch */ color: oklch(67.4% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#c69ff7',
    500: '#aa77f2',
    950: '#000000',
  },
}
SCSS
$custom: #aa77f2;
$custom-light: #c69ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77f2",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 264.878,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67382,
    "c": 0.17968,
    "h": 300.8
  },
  "luminance": 0.28151
}

Semantic roles & 50–950 ramp

primary
#AA77F2
secondary
#E5F3D2
accent
#DF0785
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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