#AA77DF#AA77DF

#AA77DF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.157 H 305.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AA77DF
RGBrgb(170, 119, 223)
HSLhsl(269, 62%, 67%)
HSVhsv(269, 47%, 87%)
CMYKcmyk(23.8%, 46.6%, 0%, 12.5%)
CIE-LABlab(59.04, 39.97, -45.75)
CIE-LCHlch(59.04, 60.75, 311.14°)
OKLaboklab(66.33% 0.0901 -0.128)
OKLCHoklch(66.33% 0.157 305.2)
XYZxyz(36.4909, 27.0676, 73.0999)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77DF #ACDF77
analogous
#7778DF #AA77DF #DE77DF
triadic
#AA77DF #DFAA77 #77DFAA
tetradic
#AA77DF #DF7778 #ACDF77 #77DFDE
square
#AA77DF #DF7778 #ACDF77 #77DFDE
split-complementary
#AA77DF #DFDE77 #78DF77
monochromatic
#6C2AB2 #8B45D3 #AA77DF #C9A9EB #E8DAF6

Accessibility & contrast

On white

3.27
#AA77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AA77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77DF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77DF#FFFFFF#000000##000000
##AA77DF1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE3
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#A189A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa77df;
/* rgb */ color: rgb(170, 119, 223);
/* oklch */ color: oklch(66.3% 0.157 305.2);
Tailwind
colors: {
  custom: {
    50: '#c59fe9',
    500: '#aa77df',
    950: '#000000',
  },
}
SCSS
$custom: #aa77df;
$custom-light: #c59fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77df",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 269.423,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.15654,
    "h": 305.2
  },
  "luminance": 0.27067
}

Semantic roles & 50–950 ramp

primary
#AA77DF
secondary
#D9E9C8
accent
#CA1C74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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