#AB77DF#AB77DF

#AB77DF is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.4% C 0.157 H 305.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB77DF
RGBrgb(171, 119, 223)
HSLhsl(270, 62%, 67%)
HSVhsv(270, 47%, 87%)
CMYKcmyk(23.3%, 46.6%, 0%, 12.5%)
CIE-LABlab(59.14, 40.24, -45.58)
CIE-LCHlch(59.14, 60.80, 311.44°)
OKLaboklab(66.43% 0.0914 -0.1275)
OKLCHoklch(66.43% 0.157 305.6)
XYZxyz(36.7079, 27.1795, 73.1101)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77DF #ABDF77
analogous
#7777DF #AB77DF #DF77DF
triadic
#AB77DF #DFAB77 #77DFAB
tetradic
#AB77DF #DF7777 #ABDF77 #77DFDF
square
#AB77DF #DF7777 #ABDF77 #77DFDF
split-complementary
#AB77DF #DFDF77 #77DF77
monochromatic
#6E2AB2 #8C45D3 #AB77DF #CAA9EB #E8DAF6

Accessibility & contrast

On white

3.26
#AB77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AB77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77DF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77DF#FFFFFF#000000##000000
##AB77DF1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8DE3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#A389A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab77df;
/* rgb */ color: rgb(171, 119, 223);
/* oklch */ color: oklch(66.4% 0.157 305.6);
Tailwind
colors: {
  custom: {
    50: '#c69fe9',
    500: '#ab77df',
    950: '#000000',
  },
}
SCSS
$custom: #ab77df;
$custom-light: #c69fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77df",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.15683,
    "h": 305.6
  },
  "luminance": 0.27179
}

Semantic roles & 50–950 ramp

primary
#AB77DF
secondary
#D9E9C8
accent
#CA1C73
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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