#AB77EC#AB77EC

#AB77EC is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.173 H 302.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB77EC
RGBrgb(171, 119, 236)
HSLhsl(267, 75%, 70%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(27.5%, 49.6%, 0%, 7.5%)
CIE-LABlab(59.81, 43.29, -51.78)
CIE-LCHlch(59.81, 67.49, 309.90°)
OKLaboklab(67.14% 0.0928 -0.1455)
OKLCHoklch(67.14% 0.173 302.5)
XYZxyz(38.5283, 27.9077, 82.6976)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77EC #B8EC77
analogous
#777DEC #AB77EC #E677EC
triadic
#AB77EC #ECAB77 #77ECAB
tetradic
#AB77EC #EC777D #B8EC77 #77ECE6
square
#AB77EC #EC777D #B8EC77 #77ECE6
split-complementary
#AB77EC #ECE677 #7DEC77
monochromatic
#6B1DCC #8A41E4 #AB77EC #CCADF4 #EDE2FB

Accessibility & contrast

On white

3.19
#AB77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AB77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77EC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77EC#FFFFFF#000000##000000
##AB77EC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#9F8CA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab77ec;
/* rgb */ color: rgb(171, 119, 236);
/* oklch */ color: oklch(67.1% 0.173 302.5);
Tailwind
colors: {
  custom: {
    50: '#c79ff3',
    500: '#ab77ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab77ec;
$custom-light: #c79ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77ec",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 266.667,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67139,
    "c": 0.17261,
    "h": 302.5
  },
  "luminance": 0.27908
}

Semantic roles & 50–950 ramp

primary
#AB77EC
secondary
#E1F0CF
accent
#D80E7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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