#AB76EA#AB76EA

#AB76EA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.172 H 303.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB76EA
RGBrgb(171, 118, 234)
HSLhsl(267, 73%, 69%)
HSVhsv(267, 50%, 92%)
CMYKcmyk(26.9%, 49.6%, 0%, 8.2%)
CIE-LABlab(59.48, 43.37, -51.17)
CIE-LCHlch(59.48, 67.08, 310.28°)
OKLaboklab(66.87% 0.0939 -0.1438)
OKLCHoklch(66.87% 0.172 303.2)
XYZxyz(38.1210, 27.5554, 81.1364)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76EA #B5EA76
analogous
#767BEA #AB76EA #E576EA
triadic
#AB76EA #EAAB76 #76EAAB
tetradic
#AB76EA #EA767B #B5EA76 #76EAE5
square
#AB76EA #EA767B #B5EA76 #76EAE5
split-complementary
#AB76EA #EAE576 #7BEA76
monochromatic
#6C1FC7 #8A41E2 #AB76EA #CCABF2 #ECE0FA

Accessibility & contrast

On white

3.23
#AB76EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AB76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76EA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76EA#FFFFFF#000000##000000
##AB76EA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#A08BA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76ea;
/* rgb */ color: rgb(171, 118, 234);
/* oklch */ color: oklch(66.9% 0.172 303.2);
Tailwind
colors: {
  custom: {
    50: '#c79ff1',
    500: '#ab76ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ea;
$custom-light: #c79ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ea",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 267.414,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.17173,
    "h": 303.2
  },
  "luminance": 0.27555
}

Semantic roles & 50–950 ramp

primary
#AB76EA
secondary
#DFEFCD
accent
#D6107B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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