#AB76F3#AB76F3

#AB76F3 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.183 H 301.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB76F3
RGBrgb(171, 118, 243)
HSLhsl(265, 84%, 71%)
HSVhsv(265, 51%, 95%)
CMYKcmyk(29.6%, 51.4%, 0%, 4.7%)
CIE-LABlab(59.97, 45.52, -55.40)
CIE-LCHlch(59.97, 71.71, 309.41°)
OKLaboklab(67.38% 0.0947 -0.1561)
OKLCHoklch(67.38% 0.183 301.2)
XYZxyz(39.4469, 28.0857, 88.1195)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76F3 #BEF376
analogous
#767FF3 #AB76F3 #EA76F3
triadic
#AB76F3 #F3AB76 #76F3AB
tetradic
#AB76F3 #F3767F #BEF376 #76F3EA
square
#AB76F3 #F3767F #BEF376 #76F3EA
split-complementary
#AB76F3 #F3EA76 #7FF376
monochromatic
#6813DB #883EEE #AB76F3 #CEAEF8 #EEE3FD

Accessibility & contrast

On white

3.17
#AB76F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AB76F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76F3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76F3#FFFFFF#000000##000000
##AB76F31.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F7
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#9D8EAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab76f3;
/* rgb */ color: rgb(171, 118, 243);
/* oklch */ color: oklch(67.4% 0.183 301.2);
Tailwind
colors: {
  custom: {
    50: '#c79ff8',
    500: '#ab76f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab76f3;
$custom-light: #c79ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76f3",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 243
  },
  "hsl": {
    "h": 265.44,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6738,
    "c": 0.18259,
    "h": 301.2
  },
  "luminance": 0.28086
}

Semantic roles & 50–950 ramp

primary
#AB76F3
secondary
#E5F3D2
accent
#E00583
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB76F3

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

Preview Lab → · Contrast checker → · Palette generator →

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