#AB76E6#AB76E6

#AB76E6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.6% C 0.167 H 304.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB76E6
RGBrgb(171, 118, 230)
HSLhsl(268, 69%, 68%)
HSVhsv(268, 49%, 90%)
CMYKcmyk(25.7%, 48.7%, 0%, 9.8%)
CIE-LABlab(59.28, 42.42, -49.28)
CIE-LCHlch(59.28, 65.02, 310.73°)
OKLaboklab(66.64% 0.0935 -0.1382)
OKLCHoklch(66.64% 0.167 304.1)
XYZxyz(37.5529, 27.3281, 78.1441)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76E6 #B1E676
analogous
#7679E6 #AB76E6 #E376E6
triadic
#AB76E6 #E6AB76 #76E6AB
tetradic
#AB76E6 #E67679 #B1E676 #76E6E3
square
#AB76E6 #E67679 #B1E676 #76E6E3
split-complementary
#AB76E6 #E6E376 #79E676
monochromatic
#6D23BF #8B42DD #AB76E6 #CBAAEF #EADEF9

Accessibility & contrast

On white

3.25
#AB76E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AB76E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76E6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76E6#FFFFFF#000000##000000
##AB76E61.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#558DEA
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#A18AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab76e6;
/* rgb */ color: rgb(171, 118, 230);
/* oklch */ color: oklch(66.6% 0.167 304.1);
Tailwind
colors: {
  custom: {
    50: '#c69fee',
    500: '#ab76e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab76e6;
$custom-light: #c69fee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76e6",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 230
  },
  "hsl": {
    "h": 268.393,
    "s": 69.136,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66644,
    "c": 0.1669,
    "h": 304.1
  },
  "luminance": 0.27328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB76E6

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

Preview Lab → · Contrast checker → · Palette generator →

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