#AB76EE#AB76EE

#AB76EE is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.1% C 0.177 H 302.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB76EE
RGBrgb(171, 118, 238)
HSLhsl(267, 78%, 70%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(28.2%, 50.4%, 0%, 6.7%)
CIE-LABlab(59.70, 44.32, -53.06)
CIE-LCHlch(59.70, 69.14, 309.87°)
OKLaboklab(67.09% 0.0943 -0.1493)
OKLCHoklch(67.09% 0.177 302.3)
XYZxyz(38.7022, 27.7878, 84.1970)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76EE #B9EE76
analogous
#767DEE #AB76EE #E776EE
triadic
#AB76EE #EEAB76 #76EEAB
tetradic
#AB76EE #EE767D #B9EE76 #76EEE7
square
#AB76EE #EE767D #B9EE76 #76EEE7
split-complementary
#AB76EE #EEE776 #7DEE76
monochromatic
#6A1AD0 #8A40E7 #AB76EE #CCACF5 #EEE3FC

Accessibility & contrast

On white

3.20
#AB76EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AB76EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76EE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76EE#FFFFFF#000000##000000
##AB76EE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#9F8CA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab76ee;
/* rgb */ color: rgb(171, 118, 238);
/* oklch */ color: oklch(67.1% 0.177 302.3);
Tailwind
colors: {
  custom: {
    50: '#c79ff4',
    500: '#ab76ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ee;
$custom-light: #c79ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ee",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 266.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.17656,
    "h": 302.3
  },
  "luminance": 0.27788
}

Semantic roles & 50–950 ramp

primary
#AB76EE
secondary
#E2F1CF
accent
#DA0B7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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