#AB76CE#AB76CE

#AB76CE is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.4% C 0.138 H 310.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB76CE
RGBrgb(171, 118, 206)
HSLhsl(276, 47%, 64%)
HSVhsv(276, 43%, 81%)
CMYKcmyk(17%, 42.7%, 0%, 19.2%)
CIE-LABlab(58.10, 36.94, -37.65)
CIE-LCHlch(58.10, 52.75, 314.46°)
OKLaboklab(65.39% 0.0901 -0.1045)
OKLCHoklch(65.39% 0.138 310.8)
XYZxyz(34.4116, 26.0716, 61.6001)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76CE #99CE76
analogous
#7F76CE #AB76CE #CE76C5
triadic
#AB76CE #CEAB76 #76CEAB
tetradic
#AB76CE #CE7F76 #99CE76 #76C5CE
square
#AB76CE #CE7F76 #99CE76 #76C5CE
split-complementary
#AB76CE #C5CE76 #76CE7F
monochromatic
#6F3594 #8F49BE #AB76CE #C7A3DE #E2D0EE

Accessibility & contrast

On white

3.38
#AB76CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AB76CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76CE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76CE#FFFFFF#000000##000000
##AB76CE1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D1
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#A78398
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab76ce;
/* rgb */ color: rgb(171, 118, 206);
/* oklch */ color: oklch(65.4% 0.138 310.8);
Tailwind
colors: {
  custom: {
    50: '#c59edd',
    500: '#ab76ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ce;
$custom-light: #c59edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ce",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 276.136,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.13798,
    "h": 310.8
  },
  "luminance": 0.26071
}

Semantic roles & 50–950 ramp

primary
#AB76CE
secondary
#CDDFC0
accent
#BB2B64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB76CE

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

Preview Lab → · Contrast checker → · Palette generator →

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