#AB79F6#AB79F6

#AB79F6 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.182 H 300.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AB79F6
RGBrgb(171, 121, 246)
HSLhsl(264, 87%, 72%)
HSVhsv(264, 51%, 96%)
CMYKcmyk(30.5%, 50.8%, 0%, 3.5%)
CIE-LABlab(60.77, 44.61, -55.78)
CIE-LCHlch(60.77, 71.43, 308.65°)
OKLaboklab(68.03% 0.0911 -0.1572)
OKLCHoklch(68.03% 0.182 300.1)
XYZxyz(40.2626, 28.9862, 90.6446)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79F6 #C4F679
analogous
#7986F6 #AB79F6 #EA79F6
triadic
#AB79F6 #F6AB79 #79F6AB
tetradic
#AB79F6 #F67986 #C4F679 #79F6EA
square
#AB79F6 #F67986 #C4F679 #79F6EA
split-complementary
#AB79F6 #F6EA79 #86F679
monochromatic
#650FE5 #8740F2 #AB79F6 #CFB2FA #EDE2FD

Accessibility & contrast

On white

3.09
#AB79F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AB79F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79F6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79F6#FFFFFF#000000##000000
##AB79F61.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#9C91AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab79f6;
/* rgb */ color: rgb(171, 121, 246);
/* oklch */ color: oklch(68.0% 0.182 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7a1fa',
    500: '#ab79f6',
    950: '#000000',
  },
}
SCSS
$custom: #ab79f6;
$custom-light: #c7a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79f6",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 264,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68028,
    "c": 0.1817,
    "h": 300.1
  },
  "luminance": 0.28986
}

Semantic roles & 50–950 ramp

primary
#AB79F6
secondary
#E9F5D6
accent
#E40289
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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