#AB76CB#AB76CB

#AB76CB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.2% C 0.134 H 311.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB76CB
RGBrgb(171, 118, 203)
HSLhsl(277, 45%, 63%)
HSVhsv(277, 42%, 80%)
CMYKcmyk(15.8%, 41.9%, 0%, 20.4%)
CIE-LABlab(57.97, 36.28, -36.16)
CIE-LCHlch(57.97, 51.23, 315.10°)
OKLaboklab(65.24% 0.0896 -0.1002)
OKLCHoklch(65.24% 0.134 311.8)
XYZxyz(34.0506, 25.9272, 59.6990)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76CB #96CB76
analogous
#8076CB #AB76CB #CB76C0
triadic
#AB76CB #CBAB76 #76CBAB
tetradic
#AB76CB #CB8076 #96CB76 #76C0CB
square
#AB76CB #CB8076 #96CB76 #76C0CB
split-complementary
#AB76CB #C0CB76 #76CB80
monochromatic
#6E3790 #904ABA #AB76CB #C6A2DC #E1CFED

Accessibility & contrast

On white

3.40
#AB76CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AB76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76CB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76CB#FFFFFF#000000##000000
##AB76CB1.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CE
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#A88297
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab76cb;
/* rgb */ color: rgb(171, 118, 203);
/* oklch */ color: oklch(65.2% 0.134 311.8);
Tailwind
colors: {
  custom: {
    50: '#c59edb',
    500: '#ab76cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab76cb;
$custom-light: #c59edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76cb",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 277.412,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65237,
    "c": 0.13441,
    "h": 311.8
  },
  "luminance": 0.25927
}

Semantic roles & 50–950 ramp

primary
#AB76CB
secondary
#CBDEBF
accent
#B82D62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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