#AB77EA#AB77EA

#AB77EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.170 H 303.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB77EA
RGBrgb(171, 119, 234)
HSLhsl(267, 73%, 69%)
HSVhsv(267, 49%, 92%)
CMYKcmyk(26.9%, 49.1%, 0%, 8.2%)
CIE-LABlab(59.70, 42.82, -50.83)
CIE-LCHlch(59.70, 66.46, 310.11°)
OKLaboklab(67.03% 0.0926 -0.1428)
OKLCHoklch(67.03% 0.17 303)
XYZxyz(38.2394, 27.7921, 81.1758)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77EA #B6EA77
analogous
#777DEA #AB77EA #E477EA
triadic
#AB77EA #EAAB77 #77EAAB
tetradic
#AB77EA #EA777D #B6EA77 #77EAE4
square
#AB77EA #EA777D #B6EA77 #77EAE4
split-complementary
#AB77EA #EAE477 #7DEA77
monochromatic
#6B1FC8 #8A42E2 #AB77EA #CCACF2 #ECE1FA

Accessibility & contrast

On white

3.20
#AB77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AB77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77EA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77EA#FFFFFF#000000##000000
##AB77EA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#6190E7
Tritanopia (blue-blind)
#A08CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab77ea;
/* rgb */ color: rgb(171, 119, 234);
/* oklch */ color: oklch(67.0% 0.170 303.0);
Tailwind
colors: {
  custom: {
    50: '#c79ff1',
    500: '#ab77ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab77ea;
$custom-light: #c79ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77ea",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 267.13,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67027,
    "c": 0.17018,
    "h": 303
  },
  "luminance": 0.27792
}

Semantic roles & 50–950 ramp

primary
#AB77EA
secondary
#E0EFCE
accent
#D5107C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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