#AB77CF#AB77CF

#AB77CF is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.6% C 0.137 H 310.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB77CF
RGBrgb(171, 119, 207)
HSLhsl(275, 48%, 64%)
HSVhsv(275, 43%, 81%)
CMYKcmyk(17.4%, 42.5%, 0%, 18.8%)
CIE-LABlab(58.37, 36.61, -37.79)
CIE-LCHlch(58.37, 52.62, 314.09°)
OKLaboklab(65.6% 0.0889 -0.1049)
OKLCHoklch(65.6% 0.137 310.3)
XYZxyz(34.6519, 26.3571, 62.2814)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77CF #9BCF77
analogous
#7F77CF #AB77CF #CF77C7
triadic
#AB77CF #CFAB77 #77CFAB
tetradic
#AB77CF #CF7F77 #9BCF77 #77C7CF
square
#AB77CF #CF7F77 #9BCF77 #77C7CF
split-complementary
#AB77CF #C7CF77 #77CF7F
monochromatic
#6F3596 #8F4ABF #AB77CF #C7A4DF #E3D1EF

Accessibility & contrast

On white

3.35
#AB77CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AB77CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77CF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77CF#FFFFFF#000000##000000
##AB77CF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648AD2
Deuteranopia (green-blind)
#718DCD
Tritanopia (blue-blind)
#A78499
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab77cf;
/* rgb */ color: rgb(171, 119, 207);
/* oklch */ color: oklch(65.6% 0.137 310.3);
Tailwind
colors: {
  custom: {
    50: '#c59fde',
    500: '#ab77cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab77cf;
$custom-light: #c59fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77cf",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 275.455,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.13748,
    "h": 310.3
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#AB77CF
secondary
#CEE0C1
accent
#BB2A66
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB77CF

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

Preview Lab → · Contrast checker → · Palette generator →

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