#AB76F6#AB76F6

#AB76F6 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.186 H 300.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB76F6
RGBrgb(171, 118, 246)
HSLhsl(265, 88%, 71%)
HSVhsv(265, 52%, 96%)
CMYKcmyk(30.5%, 52%, 0%, 3.5%)
CIE-LABlab(60.13, 46.24, -56.80)
CIE-LCHlch(60.13, 73.25, 309.15°)
OKLaboklab(67.55% 0.0949 -0.1602)
OKLCHoklch(67.55% 0.186 300.6)
XYZxyz(39.9037, 28.2684, 90.5250)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76F6 #C1F676
analogous
#7681F6 #AB76F6 #EB76F6
triadic
#AB76F6 #F6AB76 #76F6AB
tetradic
#AB76F6 #F67681 #C1F676 #76F6EB
square
#AB76F6 #F67681 #C1F676 #76F6EB
split-complementary
#AB76F6 #F6EB76 #81F676
monochromatic
#670FE3 #883DF2 #AB76F6 #CEAFFA #EDE2FD

Accessibility & contrast

On white

3.16
#AB76F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AB76F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76F6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76F6#FFFFFF#000000##000000
##AB76F61.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#9C8FAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab76f6;
/* rgb */ color: rgb(171, 118, 246);
/* oklch */ color: oklch(67.6% 0.186 300.6);
Tailwind
colors: {
  custom: {
    50: '#c79ffa',
    500: '#ab76f6',
    950: '#000000',
  },
}
SCSS
$custom: #ab76f6;
$custom-light: #c79ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76f6",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 264.844,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67555,
    "c": 0.1862,
    "h": 300.6
  },
  "luminance": 0.28269
}

Semantic roles & 50–950 ramp

primary
#AB76F6
secondary
#E7F5D3
accent
#E40186
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76F6

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

Preview Lab → · Contrast checker → · Palette generator →

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