#AB77E2#AB77E2

#AB77E2 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.160 H 304.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB77E2
RGBrgb(171, 119, 226)
HSLhsl(269, 65%, 68%)
HSVhsv(269, 47%, 89%)
CMYKcmyk(24.3%, 47.3%, 0%, 11.4%)
CIE-LABlab(59.29, 40.94, -47.02)
CIE-LCHlch(59.29, 62.34, 311.04°)
OKLaboklab(66.59% 0.0917 -0.1317)
OKLCHoklch(66.59% 0.16 304.9)
XYZxyz(37.1160, 27.3428, 75.2591)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB77E2 #AEE277
analogous
#7778E2 #AB77E2 #E077E2
triadic
#AB77E2 #E2AB77 #77E2AB
tetradic
#AB77E2 #E27778 #AEE277 #77E2E0
square
#AB77E2 #E27778 #AEE277 #77E2E0
split-complementary
#AB77E2 #E2E077 #78E277
monochromatic
#6D27B7 #8C45D7 #AB77E2 #CAA9ED #E9DCF8

Accessibility & contrast

On white

3.25
#AB77E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AB77E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB77E2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB77E2#FFFFFF#000000##000000
##AB77E21.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#598DE6
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#A289A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab77e2;
/* rgb */ color: rgb(171, 119, 226);
/* oklch */ color: oklch(66.6% 0.160 304.9);
Tailwind
colors: {
  custom: {
    50: '#c69feb',
    500: '#ab77e2',
    950: '#000000',
  },
}
SCSS
$custom: #ab77e2;
$custom-light: #c69feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab77e2",
  "rgb": {
    "r": 171,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 269.159,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66587,
    "c": 0.16047,
    "h": 304.9
  },
  "luminance": 0.27343
}

Semantic roles & 50–950 ramp

primary
#AB77E2
secondary
#DBEBCA
accent
#CD1975
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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