#AB77CA#AB77CA

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

Color values

HEX#AB77CA
RGBrgb(171, 119, 202)
HSLhsl(278, 44%, 63%)
HSVhsv(278, 41%, 79%)
CMYKcmyk(15.3%, 41.1%, 0%, 20.8%)
CIE-LABlab(58.15, 35.51, -35.32)
CIE-LCHlch(58.15, 50.08, 315.16°)
OKLaboklab(65.36% 0.088 -0.0977)
OKLCHoklch(65.36% 0.132 312)
XYZxyz(34.0502, 26.1165, 59.1129)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77CA #96CA77
analogous
#8177CA #AB77CA #CA77BF
triadic
#AB77CA #CAAB77 #77CAAB
tetradic
#AB77CA #CA8177 #96CA77 #77BFCA
square
#AB77CA #CA8177 #96CA77 #77BFCA
split-complementary
#AB77CA #BFCA77 #77CA81
monochromatic
#6E388F #904BB9 #AB77CA #C6A3DB #E1CFEC

Accessibility & contrast

On white

3.37
#AB77CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AB77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77CA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77CA#FFFFFF#000000##000000
##AB77CA1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#A88397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab77ca;
/* rgb */ color: rgb(171, 119, 202);
/* oklch */ color: oklch(65.4% 0.132 312.0);
Tailwind
colors: {
  custom: {
    50: '#c59fda',
    500: '#ab77ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab77ca;
$custom-light: #c59fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77ca",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 277.59,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65357,
    "c": 0.1315,
    "h": 312
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#AB77CA
secondary
#CBDDBF
accent
#B72E61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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