#AB77CC#AB77CC

#AB77CC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.5% C 0.134 H 311.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB77CC
RGBrgb(171, 119, 204)
HSLhsl(277, 45%, 63%)
HSVhsv(277, 42%, 80%)
CMYKcmyk(16.2%, 41.7%, 0%, 20%)
CIE-LABlab(58.24, 35.95, -36.31)
CIE-LCHlch(58.24, 51.09, 314.72°)
OKLaboklab(65.46% 0.0883 -0.1006)
OKLCHoklch(65.46% 0.134 311.3)
XYZxyz(34.2886, 26.2118, 60.3681)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77CC #98CC77
analogous
#8077CC #AB77CC #CC77C2
triadic
#AB77CC #CCAB77 #77CCAB
tetradic
#AB77CC #CC8077 #98CC77 #77C2CC
square
#AB77CC #CC8077 #98CC77 #77C2CC
split-complementary
#AB77CC #C2CC77 #77CC80
monochromatic
#6E3792 #904ABB #AB77CC #C6A4DD #E2D0ED

Accessibility & contrast

On white

3.36
#AB77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77CC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77CC#FFFFFF#000000##000000
##AB77CC1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#A88498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab77cc;
/* rgb */ color: rgb(171, 119, 204);
/* oklch */ color: oklch(65.5% 0.134 311.3);
Tailwind
colors: {
  custom: {
    50: '#c59fdc',
    500: '#ab77cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab77cc;
$custom-light: #c59fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77cc",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 276.706,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65455,
    "c": 0.13389,
    "h": 311.3
  },
  "luminance": 0.26211
}

Semantic roles & 50–950 ramp

primary
#AB77CC
secondary
#CCDFC0
accent
#B92D63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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