#AB76CA#AB76CA

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

Color values

HEX#AB76CA
RGBrgb(171, 118, 202)
HSLhsl(278, 44%, 63%)
HSVhsv(278, 42%, 79%)
CMYKcmyk(15.3%, 41.6%, 0%, 20.8%)
CIE-LABlab(57.92, 36.07, -35.67)
CIE-LCHlch(57.92, 50.72, 315.32°)
OKLaboklab(65.19% 0.0894 -0.0988)
OKLCHoklch(65.19% 0.133 312.2)
XYZxyz(33.9319, 25.8797, 59.0734)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76CA #95CA76
analogous
#8176CA #AB76CA #CA76BF
triadic
#AB76CA #CAAB76 #76CAAB
tetradic
#AB76CA #CA8176 #95CA76 #76BFCA
square
#AB76CA #CA8176 #95CA76 #76BFCA
split-complementary
#AB76CA #BFCA76 #76CA81
monochromatic
#6E378E #904AB9 #AB76CA #C6A2DB #E1CEEC

Accessibility & contrast

On white

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

On black

6.18
#AB76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76CA#FFFFFF#000000##000000
##AB76CA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CD
Deuteranopia (green-blind)
#738CC8
Tritanopia (blue-blind)
#A88296
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab76ca;
/* rgb */ color: rgb(171, 118, 202);
/* oklch */ color: oklch(65.2% 0.133 312.2);
Tailwind
colors: {
  custom: {
    50: '#c59eda',
    500: '#ab76ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ca;
$custom-light: #c59eda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ca",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 277.857,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65188,
    "c": 0.13323,
    "h": 312.2
  },
  "luminance": 0.25879
}

Semantic roles & 50–950 ramp

primary
#AB76CA
secondary
#CADDBF
accent
#B72E61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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