#AB76CC#AB76CC

#AB76CC is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.3% C 0.136 H 311.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB76CC
RGBrgb(171, 118, 204)
HSLhsl(277, 46%, 63%)
HSVhsv(277, 42%, 80%)
CMYKcmyk(16.2%, 42.2%, 0%, 20%)
CIE-LABlab(58.01, 36.50, -36.66)
CIE-LCHlch(58.01, 51.73, 314.88°)
OKLaboklab(65.29% 0.0898 -0.1016)
OKLCHoklch(65.29% 0.136 311.5)
XYZxyz(34.1702, 25.9750, 60.3286)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76CC #97CC76
analogous
#8076CC #AB76CC #CC76C2
triadic
#AB76CC #CCAB76 #76CCAB
tetradic
#AB76CC #CC8076 #97CC76 #76C2CC
square
#AB76CC #CC8076 #97CC76 #76C2CC
split-complementary
#AB76CC #C2CC76 #76CC80
monochromatic
#6E3691 #9049BB #AB76CC #C6A3DD #E2CFED

Accessibility & contrast

On white

3.39
#AB76CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB76CC#FFFFFF#000000##000000
##AB76CC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#A88397
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab76cc;
/* rgb */ color: rgb(171, 118, 204);
/* oklch */ color: oklch(65.3% 0.136 311.5);
Tailwind
colors: {
  custom: {
    50: '#c59edc',
    500: '#ab76cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab76cc;
$custom-light: #c59edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76cc",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 276.977,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65286,
    "c": 0.1356,
    "h": 311.5
  },
  "luminance": 0.25974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB76CC

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

Preview Lab → · Contrast checker → · Palette generator →

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