#AB77FB#AB77FB

#AB77FB is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.191 H 299.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB77FB
RGBrgb(171, 119, 251)
HSLhsl(264, 94%, 73%)
HSVhsv(264, 53%, 98%)
CMYKcmyk(31.9%, 52.6%, 0%, 1.6%)
CIE-LABlab(60.62, 46.92, -58.78)
CIE-LCHlch(60.62, 75.21, 308.60°)
OKLaboklab(68.01% 0.0939 -0.166)
OKLCHoklch(68.01% 0.191 299.5)
XYZxyz(40.7998, 28.8163, 94.6607)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77FB #C7FB77
analogous
#7785FB #AB77FB #ED77FB
triadic
#AB77FB #FBAB77 #77FBAB
tetradic
#AB77FB #FB7785 #C7FB77 #77FBED
square
#AB77FB #FB7785 #C7FB77 #77FBED
split-complementary
#AB77FB #FBED77 #85FB77
monochromatic
#6307F1 #863CF9 #AB77FB #D0B2FD #EDE1FE

Accessibility & contrast

On white

3.10
#AB77FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#AB77FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77FB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77FB#FFFFFF#000000##000000
##AB77FB1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#9A91AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab77fb;
/* rgb */ color: rgb(171, 119, 251);
/* oklch */ color: oklch(68.0% 0.191 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a0fd',
    500: '#ab77fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab77fb;
$custom-light: #c8a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77fb",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 263.636,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68006,
    "c": 0.19073,
    "h": 299.5
  },
  "luminance": 0.28817
}

Semantic roles & 50–950 ramp

primary
#AB77FB
secondary
#E9F6D5
accent
#E6008B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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