#AB76EB#AB76EB

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

Color values

HEX#AB76EB
RGBrgb(171, 118, 235)
HSLhsl(267, 75%, 69%)
HSVhsv(267, 50%, 92%)
CMYKcmyk(27.2%, 49.8%, 0%, 7.8%)
CIE-LABlab(59.54, 43.60, -51.65)
CIE-LCHlch(59.54, 67.59, 310.17°)
OKLaboklab(66.92% 0.094 -0.1451)
OKLCHoklch(66.92% 0.173 302.9)
XYZxyz(38.2651, 27.6130, 81.8951)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76EB #B6EB76
analogous
#767CEB #AB76EB #E576EB
triadic
#AB76EB #EBAB76 #76EBAB
tetradic
#AB76EB #EB767C #B6EB76 #76EBE5
square
#AB76EB #EB767C #B6EB76 #76EBE5
split-complementary
#AB76EB #EBE576 #7CEB76
monochromatic
#6B1DC9 #8A41E3 #AB76EB #CCABF3 #ECE1FB

Accessibility & contrast

On white

3.22
#AB76EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AB76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76EB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76EB#FFFFFF#000000##000000
##AB76EB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#9F8BA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76eb;
/* rgb */ color: rgb(171, 118, 235);
/* oklch */ color: oklch(66.9% 0.173 302.9);
Tailwind
colors: {
  custom: {
    50: '#c79ff2',
    500: '#ab76eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab76eb;
$custom-light: #c79ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76eb",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 267.179,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66922,
    "c": 0.17294,
    "h": 302.9
  },
  "luminance": 0.27613
}

Semantic roles & 50–950 ramp

primary
#AB76EB
secondary
#E0EFCD
accent
#D70F7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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