#AB76CF#AB76CF

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

Color values

HEX#AB76CF
RGBrgb(171, 118, 207)
HSLhsl(276, 48%, 64%)
HSVhsv(276, 43%, 81%)
CMYKcmyk(17.4%, 43%, 0%, 18.8%)
CIE-LABlab(58.15, 37.17, -38.14)
CIE-LCHlch(58.15, 53.25, 314.26°)
OKLaboklab(65.44% 0.0903 -0.1059)
OKLCHoklch(65.44% 0.139 310.5)
XYZxyz(34.5335, 26.1203, 62.2419)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76CF #9ACF76
analogous
#7E76CF #AB76CF #CF76C6
triadic
#AB76CF #CFAB76 #76CFAB
tetradic
#AB76CF #CF7E76 #9ACF76 #76C6CF
square
#AB76CF #CF7E76 #9ACF76 #76C6CF
split-complementary
#AB76CF #C6CF76 #76CF7E
monochromatic
#6F3596 #8F49BF #AB76CF #C7A3DF #E3D1EF

Accessibility & contrast

On white

3.37
#AB76CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AB76CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76CF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76CF#FFFFFF#000000##000000
##AB76CF1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#708DCD
Tritanopia (blue-blind)
#A78399
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab76cf;
/* rgb */ color: rgb(171, 118, 207);
/* oklch */ color: oklch(65.4% 0.139 310.5);
Tailwind
colors: {
  custom: {
    50: '#c59ede',
    500: '#ab76cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab76cf;
$custom-light: #c59ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76cf",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 275.73,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65435,
    "c": 0.13918,
    "h": 310.5
  },
  "luminance": 0.2612
}

Semantic roles & 50–950 ramp

primary
#AB76CF
secondary
#CDE0C1
accent
#BB2A65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB76CF

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

Preview Lab → · Contrast checker → · Palette generator →

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