#AB79F5#AB79F5

#AB79F5 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.180 H 300.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AB79F5
RGBrgb(171, 121, 245)
HSLhsl(264, 86%, 72%)
HSVhsv(264, 51%, 96%)
CMYKcmyk(30.2%, 50.6%, 0%, 3.9%)
CIE-LABlab(60.72, 44.37, -55.32)
CIE-LCHlch(60.72, 70.91, 308.73°)
OKLaboklab(67.97% 0.091 -0.1559)
OKLCHoklch(67.97% 0.18 300.3)
XYZxyz(40.1095, 28.9250, 89.8385)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79F5 #C3F579
analogous
#7985F5 #AB79F5 #E979F5
triadic
#AB79F5 #F5AB79 #79F5AB
tetradic
#AB79F5 #F57985 #C3F579 #79F5E9
square
#AB79F5 #F57985 #C3F579 #79F5E9
split-complementary
#AB79F5 #F5E979 #85F579
monochromatic
#6611E3 #8740F1 #AB79F5 #CFB2F9 #EDE3FD

Accessibility & contrast

On white

3.10
#AB79F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AB79F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79F5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79F5#FFFFFF#000000##000000
##AB79F51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#9C90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab79f5;
/* rgb */ color: rgb(171, 121, 245);
/* oklch */ color: oklch(68.0% 0.180 300.3);
Tailwind
colors: {
  custom: {
    50: '#c7a1f9',
    500: '#ab79f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab79f5;
$custom-light: #c7a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79f5",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 264.194,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67971,
    "c": 0.18049,
    "h": 300.3
  },
  "luminance": 0.28925
}

Semantic roles & 50–950 ramp

primary
#AB79F5
secondary
#E8F5D5
accent
#E30388
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79F5

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

Preview Lab → · Contrast checker → · Palette generator →

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