#AB77F9#AB77F9

#AB77F9 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.188 H 299.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB77F9
RGBrgb(171, 119, 249)
HSLhsl(264, 92%, 72%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(31.3%, 52.2%, 0%, 2.4%)
CIE-LABlab(60.51, 46.43, -57.86)
CIE-LCHlch(60.51, 74.18, 308.75°)
OKLaboklab(67.89% 0.0938 -0.1633)
OKLCHoklch(67.89% 0.188 299.9)
XYZxyz(40.4862, 28.6909, 93.0091)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77F9 #C5F977
analogous
#7784F9 #AB77F9 #EC77F9
triadic
#AB77F9 #F9AB77 #77F9AB
tetradic
#AB77F9 #F97784 #C5F977 #77F9EC
square
#AB77F9 #F97784 #C5F977 #77F9EC
split-complementary
#AB77F9 #F9EC77 #84F977
monochromatic
#640AEB #873CF6 #AB77F9 #CFB2FC #EDE2FE

Accessibility & contrast

On white

3.12
#AB77F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AB77F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77F9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77F9#FFFFFF#000000##000000
##AB77F91.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FD
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#9B90AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab77f9;
/* rgb */ color: rgb(171, 119, 249);
/* oklch */ color: oklch(67.9% 0.188 299.9);
Tailwind
colors: {
  custom: {
    50: '#c79ffc',
    500: '#ab77f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab77f9;
$custom-light: #c79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77f9",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 264,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.18832,
    "h": 299.9
  },
  "luminance": 0.28691
}

Semantic roles & 50–950 ramp

primary
#AB77F9
secondary
#E9F6D5
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB77F9

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

Preview Lab → · Contrast checker → · Palette generator →

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