#AB77E7#AB77E7

#AB77E7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.167 H 303.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB77E7
RGBrgb(171, 119, 231)
HSLhsl(268, 70%, 69%)
HSVhsv(268, 48%, 91%)
CMYKcmyk(26%, 48.5%, 0%, 9.4%)
CIE-LABlab(59.55, 42.11, -49.41)
CIE-LCHlch(59.55, 64.92, 310.44°)
OKLaboklab(66.86% 0.0923 -0.1386)
OKLCHoklch(66.86% 0.167 303.7)
XYZxyz(37.8121, 27.6212, 78.9252)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77E7 #B3E777
analogous
#777BE7 #AB77E7 #E377E7
triadic
#AB77E7 #E7AB77 #77E7AB
tetradic
#AB77E7 #E7777B #B3E777 #77E7E3
square
#AB77E7 #E7777B #B3E777 #77E7E3
split-complementary
#AB77E7 #E7E377 #7BE777
monochromatic
#6C22C1 #8B43DE #AB77E7 #CBABF0 #EBDFF9

Accessibility & contrast

On white

3.22
#AB77E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AB77E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77E7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77E7#FFFFFF#000000##000000
##AB77E71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#648FE4
Tritanopia (blue-blind)
#A18BA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab77e7;
/* rgb */ color: rgb(171, 119, 231);
/* oklch */ color: oklch(66.9% 0.167 303.7);
Tailwind
colors: {
  custom: {
    50: '#c69fef',
    500: '#ab77e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab77e7;
$custom-light: #c69fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77e7",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 267.857,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.16653,
    "h": 303.7
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#AB77E7
secondary
#DEEECC
accent
#D2147A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB77E7

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

Preview Lab → · Contrast checker → · Palette generator →

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