#AB77FF#AB77FF

#AB77FF is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.196 H 298.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB77FF
RGBrgb(171, 119, 255)
HSLhsl(263, 100%, 73%)
HSVhsv(263, 53%, 100%)
CMYKcmyk(32.9%, 53.3%, 0%, 0%)
CIE-LABlab(60.84, 47.90, -60.62)
CIE-LCHlch(60.84, 77.26, 308.32°)
OKLaboklab(68.25% 0.0941 -0.1714)
OKLCHoklch(68.25% 0.196 298.8)
XYZxyz(41.4370, 29.0712, 98.0166)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77FF #CBFF77
analogous
#7787FF #AB77FF #EF77FF
triadic
#AB77FF #FFAB77 #77FFAB
tetradic
#AB77FF #FF7787 #CBFF77 #77FFEF
square
#AB77FF #FF7787 #CBFF77 #77FFEF
split-complementary
#AB77FF #FFEF77 #87FF77
monochromatic
#6000FC #853AFF #AB77FF #D1B4FF #ECE0FF

Accessibility & contrast

On white

3.08
#AB77FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AB77FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77FF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77FF#FFFFFF#000000##000000
##AB77FF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4093FF
Deuteranopia (green-blind)
#5092FC
Tritanopia (blue-blind)
#9992B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab77ff;
/* rgb */ color: rgb(171, 119, 255);
/* oklch */ color: oklch(68.2% 0.196 298.8);
Tailwind
colors: {
  custom: {
    50: '#c8a0ff',
    500: '#ab77ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab77ff;
$custom-light: #c8a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77ff",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 262.941,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.19553,
    "h": 298.8
  },
  "luminance": 0.29072
}

Semantic roles & 50–950 ramp

primary
#AB77FF
secondary
#EAF7D4
accent
#E6008E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB77FF

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

Preview Lab → · Contrast checker → · Palette generator →

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