#AB76E8#AB76E8

#AB76E8 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.169 H 303.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB76E8
RGBrgb(171, 118, 232)
HSLhsl(268, 71%, 69%)
HSVhsv(268, 49%, 91%)
CMYKcmyk(26.3%, 49.1%, 0%, 9%)
CIE-LABlab(59.38, 42.89, -50.23)
CIE-LCHlch(59.38, 66.05, 310.50°)
OKLaboklab(66.76% 0.0937 -0.141)
OKLCHoklch(66.76% 0.169 303.6)
XYZxyz(37.8353, 27.4411, 79.6317)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76E8 #B3E876
analogous
#767AE8 #AB76E8 #E476E8
triadic
#AB76E8 #E8AB76 #76E8AB
tetradic
#AB76E8 #E8767A #B3E876 #76E8E4
square
#AB76E8 #E8767A #B3E876 #76E8E4
split-complementary
#AB76E8 #E8E476 #7AE876
monochromatic
#6C21C3 #8B42DF #AB76E8 #CBAAF1 #EBDFFA

Accessibility & contrast

On white

3.24
#AB76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AB76E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76E8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76E8#FFFFFF#000000##000000
##AB76E81.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEC
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#A08AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76e8;
/* rgb */ color: rgb(171, 118, 232);
/* oklch */ color: oklch(66.8% 0.169 303.6);
Tailwind
colors: {
  custom: {
    50: '#c79ff0',
    500: '#ab76e8',
    950: '#000000',
  },
}
SCSS
$custom: #ab76e8;
$custom-light: #c79ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76e8",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 267.895,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.16932,
    "h": 303.6
  },
  "luminance": 0.27441
}

Semantic roles & 50–950 ramp

primary
#AB76E8
secondary
#DEEECC
accent
#D3127A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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