#AB76FF#AB76FF

#AB76FF is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.197 H 298.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AB76FF
RGBrgb(171, 118, 255)
HSLhsl(263, 100%, 73%)
HSVhsv(263, 54%, 100%)
CMYKcmyk(32.9%, 53.7%, 0%, 0%)
CIE-LABlab(60.64, 48.44, -60.96)
CIE-LCHlch(60.64, 77.86, 308.47°)
OKLaboklab(68.09% 0.0953 -0.1724)
OKLCHoklch(68.09% 0.197 298.9)
XYZxyz(41.3186, 28.8344, 97.9771)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76FF #CAFF76
analogous
#7685FF #AB76FF #F076FF
triadic
#AB76FF #FFAB76 #76FFAB
tetradic
#AB76FF #FF7685 #CAFF76 #76FFF0
square
#AB76FF #FF7685 #CAFF76 #76FFF0
split-complementary
#AB76FF #FFF076 #85FF76
monochromatic
#6100FB #8539FF #AB76FF #D1B3FF #ECE0FF

Accessibility & contrast

On white

3.10
#AB76FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AB76FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76FF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76FF#FFFFFF#000000##000000
##AB76FF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#9991AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab76ff;
/* rgb */ color: rgb(171, 118, 255);
/* oklch */ color: oklch(68.1% 0.197 298.9);
Tailwind
colors: {
  custom: {
    50: '#c89fff',
    500: '#ab76ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ff;
$custom-light: #c89fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ff",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 263.212,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68091,
    "c": 0.19699,
    "h": 298.9
  },
  "luminance": 0.28835
}

Semantic roles & 50–950 ramp

primary
#AB76FF
secondary
#EAF7D4
accent
#E6008D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB76FF

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

Preview Lab → · Contrast checker → · Palette generator →

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