#AB76DB#AB76DB

#AB76DB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.0% C 0.154 H 306.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AB76DB
RGBrgb(171, 118, 219)
HSLhsl(271, 58%, 66%)
HSVhsv(271, 46%, 86%)
CMYKcmyk(21.9%, 46.1%, 0%, 14.1%)
CIE-LABlab(58.72, 39.87, -44.00)
CIE-LCHlch(58.72, 59.38, 312.18°)
OKLaboklab(66.05% 0.0922 -0.1229)
OKLCHoklch(66.05% 0.154 306.9)
XYZxyz(36.0566, 26.7296, 70.2639)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76DB #A6DB76
analogous
#7876DB #AB76DB #DB76D9
triadic
#AB76DB #DBAB76 #76DBAB
tetradic
#AB76DB #DB7876 #A6DB76 #76D9DB
square
#AB76DB #DB7876 #A6DB76 #76D9DB
split-complementary
#AB76DB #D9DB76 #76DB78
monochromatic
#6E2DAA #8D46CE #AB76DB #C9A6E8 #E6D7F4

Accessibility & contrast

On white

3.31
#AB76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AB76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76DB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76DB#FFFFFF#000000##000000
##AB76DB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#A4879E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab76db;
/* rgb */ color: rgb(171, 118, 219);
/* oklch */ color: oklch(66.0% 0.154 306.9);
Tailwind
colors: {
  custom: {
    50: '#c69ee6',
    500: '#ab76db',
    950: '#000000',
  },
}
SCSS
$custom: #ab76db;
$custom-light: #c69ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76db",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 271.485,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6605,
    "c": 0.15361,
    "h": 306.9
  },
  "luminance": 0.26729
}

Semantic roles & 50–950 ramp

primary
#AB76DB
secondary
#D6E7C6
accent
#C6206F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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