#AB77EE#AB77EE

#AB77EE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.175 H 302.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AB77EE
RGBrgb(171, 119, 238)
HSLhsl(266, 78%, 70%)
HSVhsv(266, 50%, 93%)
CMYKcmyk(28.2%, 50%, 0%, 6.7%)
CIE-LABlab(59.91, 43.77, -52.72)
CIE-LCHlch(59.91, 68.52, 309.70°)
OKLaboklab(67.25% 0.093 -0.1483)
OKLCHoklch(67.25% 0.175 302.1)
XYZxyz(38.8205, 28.0246, 84.2364)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77EE #BAEE77
analogous
#777FEE #AB77EE #E677EE
triadic
#AB77EE #EEAB77 #77EEAB
tetradic
#AB77EE #EE777F #BAEE77 #77EEE6
square
#AB77EE #EE777F #BAEE77 #77EEE6
split-complementary
#AB77EE #EEE677 #7FEE77
monochromatic
#6A1AD1 #8941E7 #AB77EE #CDADF5 #EEE4FC

Accessibility & contrast

On white

3.18
#AB77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AB77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77EE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77EE#FFFFFF#000000##000000
##AB77EE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#9E8DA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab77ee;
/* rgb */ color: rgb(171, 119, 238);
/* oklch */ color: oklch(67.3% 0.175 302.1);
Tailwind
colors: {
  custom: {
    50: '#c79ff4',
    500: '#ab77ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab77ee;
$custom-light: #c79ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77ee",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 266.218,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.67252,
    "c": 0.17503,
    "h": 302.1
  },
  "luminance": 0.28025
}

Semantic roles & 50–950 ramp

primary
#AB77EE
secondary
#E3F1D0
accent
#DA0B80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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