#AB77F7#AB77F7

#AB77F7 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.186 H 300.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB77F7
RGBrgb(171, 119, 247)
HSLhsl(264, 89%, 72%)
HSVhsv(264, 52%, 97%)
CMYKcmyk(30.8%, 51.8%, 0%, 3.1%)
CIE-LABlab(60.40, 45.94, -56.93)
CIE-LCHlch(60.40, 73.16, 308.91°)
OKLaboklab(67.77% 0.0937 -0.1606)
OKLCHoklch(67.77% 0.186 300.3)
XYZxyz(40.1760, 28.5667, 91.3750)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77F7 #C3F777
analogous
#7783F7 #AB77F7 #EB77F7
triadic
#AB77F7 #F7AB77 #77F7AB
tetradic
#AB77F7 #F77783 #C3F777 #77F7EB
square
#AB77F7 #F77783 #C3F777 #77F7EB
split-complementary
#AB77F7 #F7EB77 #83F777
monochromatic
#660EE6 #873DF4 #AB77F7 #CFB1FA #EDE2FD

Accessibility & contrast

On white

3.13
#AB77F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AB77F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77F7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77F7#FFFFFF#000000##000000
##AB77F71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#9C90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab77f7;
/* rgb */ color: rgb(171, 119, 247);
/* oklch */ color: oklch(67.8% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#c79ffa',
    500: '#ab77f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab77f7;
$custom-light: #c79ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77f7",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 264.375,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6777,
    "c": 0.18591,
    "h": 300.3
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#AB77F7
secondary
#E8F5D5
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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