#AB76E7#AB76E7

#AB76E7 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.7% C 0.168 H 303.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB76E7
RGBrgb(171, 118, 231)
HSLhsl(268, 70%, 68%)
HSVhsv(268, 49%, 91%)
CMYKcmyk(26%, 48.9%, 0%, 9.4%)
CIE-LABlab(59.33, 42.66, -49.75)
CIE-LCHlch(59.33, 65.54, 310.61°)
OKLaboklab(66.7% 0.0936 -0.1396)
OKLCHoklch(66.7% 0.168 303.9)
XYZxyz(37.6937, 27.3844, 78.8857)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76E7 #B2E776
analogous
#7679E7 #AB76E7 #E476E7
triadic
#AB76E7 #E7AB76 #76E7AB
tetradic
#AB76E7 #E77679 #B2E776 #76E7E4
square
#AB76E7 #E77679 #B2E776 #76E7E4
split-complementary
#AB76E7 #E7E476 #79E776
monochromatic
#6C22C1 #8B42DE #AB76E7 #CBAAF0 #EBDEF9

Accessibility & contrast

On white

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

On black

6.48
#AB76E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76E7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76E7#FFFFFF#000000##000000
##AB76E71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#548DEB
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#A18AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76e7;
/* rgb */ color: rgb(171, 118, 231);
/* oklch */ color: oklch(66.7% 0.168 303.9);
Tailwind
colors: {
  custom: {
    50: '#c69fef',
    500: '#ab76e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab76e7;
$custom-light: #c69fef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76e7",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 268.142,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66699,
    "c": 0.16811,
    "h": 303.9
  },
  "luminance": 0.27384
}

Semantic roles & 50–950 ramp

primary
#AB76E7
secondary
#DDEDCB
accent
#D21379
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB76E7

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

Preview Lab → · Contrast checker → · Palette generator →

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