#AB76E9#AB76E9

#AB76E9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.171 H 303.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB76E9
RGBrgb(171, 118, 233)
HSLhsl(268, 72%, 69%)
HSVhsv(268, 49%, 91%)
CMYKcmyk(26.6%, 49.4%, 0%, 8.6%)
CIE-LABlab(59.43, 43.13, -50.70)
CIE-LCHlch(59.43, 66.56, 310.39°)
OKLaboklab(66.81% 0.0938 -0.1424)
OKLCHoklch(66.81% 0.171 303.4)
XYZxyz(37.9778, 27.4981, 80.3819)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76E9 #B4E976
analogous
#767BE9 #AB76E9 #E576E9
triadic
#AB76E9 #E9AB76 #76E9AB
tetradic
#AB76E9 #E9767B #B4E976 #76E9E5
square
#AB76E9 #E9767B #B4E976 #76E9E5
split-complementary
#AB76E9 #E9E576 #7BE976
monochromatic
#6C20C5 #8B41E1 #AB76E9 #CBABF1 #ECDFFA

Accessibility & contrast

On white

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

On black

6.50
#AB76E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76E9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76E9#FFFFFF#000000##000000
##AB76E91.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EED
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#A08BA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76e9;
/* rgb */ color: rgb(171, 118, 233);
/* oklch */ color: oklch(66.8% 0.171 303.4);
Tailwind
colors: {
  custom: {
    50: '#c79ff0',
    500: '#ab76e9',
    950: '#000000',
  },
}
SCSS
$custom: #ab76e9;
$custom-light: #c79ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76e9",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 267.652,
    "s": 72.327,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6681,
    "c": 0.17052,
    "h": 303.4
  },
  "luminance": 0.27498
}

Semantic roles & 50–950 ramp

primary
#AB76E9
secondary
#DFEECC
accent
#D4117A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76E9

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

Preview Lab → · Contrast checker → · Palette generator →

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