#AB76EF#AB76EF

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

Color values

HEX#AB76EF
RGBrgb(171, 118, 239)
HSLhsl(266, 79%, 70%)
HSVhsv(266, 51%, 94%)
CMYKcmyk(28.5%, 50.6%, 0%, 6.3%)
CIE-LABlab(59.75, 44.56, -53.53)
CIE-LCHlch(59.75, 69.65, 309.77°)
OKLaboklab(67.15% 0.0944 -0.1506)
OKLCHoklch(67.15% 0.178 302.1)
XYZxyz(38.8495, 27.8467, 84.9729)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76EF #BAEF76
analogous
#767DEF #AB76EF #E876EF
triadic
#AB76EF #EFAB76 #76EFAB
tetradic
#AB76EF #EF767D #BAEF76 #76EFE8
square
#AB76EF #EF767D #BAEF76 #76EFE8
split-complementary
#AB76EF #EFE876 #7DEF76
monochromatic
#6A19D2 #893FE9 #AB76EF #CDADF5 #EEE4FC

Accessibility & contrast

On white

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

On black

6.57
#AB76EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76EF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76EF#FFFFFF#000000##000000
##AB76EF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#9E8CA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab76ef;
/* rgb */ color: rgb(171, 118, 239);
/* oklch */ color: oklch(67.1% 0.178 302.1);
Tailwind
colors: {
  custom: {
    50: '#c79ff5',
    500: '#ab76ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab76ef;
$custom-light: #c79ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76ef",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 266.281,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.67149,
    "c": 0.17777,
    "h": 302.1
  },
  "luminance": 0.27847
}

Semantic roles & 50–950 ramp

primary
#AB76EF
secondary
#E2F1CF
accent
#DB0A80
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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