#AB77F8#AB77F8

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

Color values

HEX#AB77F8
RGBrgb(171, 119, 248)
HSLhsl(264, 90%, 72%)
HSVhsv(264, 52%, 97%)
CMYKcmyk(31%, 52%, 0%, 2.7%)
CIE-LABlab(60.45, 46.19, -57.39)
CIE-LCHlch(60.45, 73.67, 308.83°)
OKLaboklab(67.83% 0.0937 -0.1619)
OKLCHoklch(67.83% 0.187 300.1)
XYZxyz(40.3307, 28.6286, 92.1898)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77F8 #C4F877
analogous
#7784F8 #AB77F8 #EC77F8
triadic
#AB77F8 #F8AB77 #77F8AB
tetradic
#AB77F8 #F87784 #C4F877 #77F8EC
square
#AB77F8 #F87784 #C4F877 #77F8EC
split-complementary
#AB77F8 #F8EC77 #84F877
monochromatic
#650CE9 #873DF5 #AB77F8 #CFB1FB #EDE2FE

Accessibility & contrast

On white

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

On black

6.73
#AB77F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77F8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77F8#FFFFFF#000000##000000
##AB77F81.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#9B90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab77f8;
/* rgb */ color: rgb(171, 119, 248);
/* oklch */ color: oklch(67.8% 0.187 300.1);
Tailwind
colors: {
  custom: {
    50: '#c79ffb',
    500: '#ab77f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab77f8;
$custom-light: #c79ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77f8",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 264.186,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67829,
    "c": 0.18712,
    "h": 300.1
  },
  "luminance": 0.28629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB77F8

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

Preview Lab → · Contrast checker → · Palette generator →

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