#AB79F8#AB79F8

#AB79F8 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.184 H 299.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AB79F8
RGBrgb(171, 121, 248)
HSLhsl(264, 90%, 72%)
HSVhsv(264, 51%, 97%)
CMYKcmyk(31%, 51.2%, 0%, 2.7%)
CIE-LABlab(60.88, 45.10, -56.71)
CIE-LCHlch(60.88, 72.46, 308.49°)
OKLaboklab(68.14% 0.0912 -0.16)
OKLCHoklch(68.14% 0.184 299.7)
XYZxyz(40.5712, 29.1097, 92.2700)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79F8 #C6F879
analogous
#7987F8 #AB79F8 #EA79F8
triadic
#AB79F8 #F8AB79 #79F8AB
tetradic
#AB79F8 #F87987 #C6F879 #79F8EA
square
#AB79F8 #F87987 #C6F879 #79F8EA
split-complementary
#AB79F8 #F8EA79 #87F879
monochromatic
#640CEA #873FF5 #AB79F8 #CFB3FB #EDE2FD

Accessibility & contrast

On white

3.08
#AB79F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AB79F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79F8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79F8#FFFFFF#000000##000000
##AB79F81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FC
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#9B91AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab79f8;
/* rgb */ color: rgb(171, 121, 248);
/* oklch */ color: oklch(68.1% 0.184 299.7);
Tailwind
colors: {
  custom: {
    50: '#c7a1fb',
    500: '#ab79f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab79f8;
$custom-light: #c7a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79f8",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 263.622,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68144,
    "c": 0.18413,
    "h": 299.7
  },
  "luminance": 0.2911
}

Semantic roles & 50–950 ramp

primary
#AB79F8
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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