#AB79FB#AB79FB

#AB79FB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.188 H 299.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB79FB
RGBrgb(171, 121, 251)
HSLhsl(263, 94%, 73%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(31.9%, 51.8%, 0%, 1.6%)
CIE-LABlab(61.04, 45.83, -58.10)
CIE-LCHlch(61.04, 74.00, 308.27°)
OKLaboklab(68.32% 0.0914 -0.164)
OKLCHoklch(68.32% 0.188 299.1)
XYZxyz(41.0404, 29.2973, 94.7409)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79FB #C9FB79
analogous
#7988FB #AB79FB #EC79FB
triadic
#AB79FB #FBAB79 #79FBAB
tetradic
#AB79FB #FB7988 #C9FB79 #79FBEC
square
#AB79FB #FB7988 #C9FB79 #79FBEC
split-complementary
#AB79FB #FBEC79 #88FB79
monochromatic
#6207F2 #863EF9 #AB79FB #D0B4FD #ECE1FE

Accessibility & contrast

On white

3.06
#AB79FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AB79FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79FB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79FB#FFFFFF#000000##000000
##AB79FB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#9A92AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab79fb;
/* rgb */ color: rgb(171, 121, 251);
/* oklch */ color: oklch(68.3% 0.188 299.1);
Tailwind
colors: {
  custom: {
    50: '#c8a1fd',
    500: '#ab79fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab79fb;
$custom-light: #c8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79fb",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 263.077,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6832,
    "c": 0.18778,
    "h": 299.1
  },
  "luminance": 0.29298
}

Semantic roles & 50–950 ramp

primary
#AB79FB
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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