#AB76DC#AB76DC

#AB76DC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.155 H 306.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB76DC
RGBrgb(171, 118, 220)
HSLhsl(271, 59%, 66%)
HSVhsv(271, 46%, 86%)
CMYKcmyk(22.3%, 46.4%, 0%, 13.7%)
CIE-LABlab(58.77, 40.10, -44.48)
CIE-LCHlch(58.77, 59.89, 312.03°)
OKLaboklab(66.1% 0.0923 -0.1243)
OKLCHoklch(66.1% 0.155 306.6)
XYZxyz(36.1887, 26.7824, 70.9593)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76DC #A7DC76
analogous
#7876DC #AB76DC #DC76DA
triadic
#AB76DC #DCAB76 #76DCAB
tetradic
#AB76DC #DC7876 #A7DC76 #76DADC
square
#AB76DC #DC7876 #A7DC76 #76DADC
split-complementary
#AB76DC #DADC76 #76DC78
monochromatic
#6E2CAC #8D45D0 #AB76DC #C9A7E8 #E7D7F5

Accessibility & contrast

On white

3.30
#AB76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AB76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76DC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76DC#FFFFFF#000000##000000
##AB76DC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BE0
Deuteranopia (green-blind)
#698ED9
Tritanopia (blue-blind)
#A4879F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab76dc;
/* rgb */ color: rgb(171, 118, 220);
/* oklch */ color: oklch(66.1% 0.155 306.6);
Tailwind
colors: {
  custom: {
    50: '#c69ee7',
    500: '#ab76dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab76dc;
$custom-light: #c69ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76dc",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 271.176,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66103,
    "c": 0.15481,
    "h": 306.6
  },
  "luminance": 0.26782
}

Semantic roles & 50–950 ramp

primary
#AB76DC
secondary
#D6E8C6
accent
#C71F6F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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