#AB79F7#AB79F7

#AB79F7 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.183 H 299.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB79F7
RGBrgb(171, 121, 247)
HSLhsl(264, 89%, 72%)
HSVhsv(264, 51%, 97%)
CMYKcmyk(30.8%, 51%, 0%, 3.1%)
CIE-LABlab(60.82, 44.85, -56.25)
CIE-LCHlch(60.82, 71.94, 308.57°)
OKLaboklab(68.09% 0.0911 -0.1586)
OKLCHoklch(68.09% 0.183 299.9)
XYZxyz(40.4165, 29.0478, 91.4551)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79F7 #C5F779
analogous
#7986F7 #AB79F7 #EA79F7
triadic
#AB79F7 #F7AB79 #79F7AB
tetradic
#AB79F7 #F77986 #C5F779 #79F7EA
square
#AB79F7 #F77986 #C5F779 #79F7EA
split-complementary
#AB79F7 #F7EA79 #86F779
monochromatic
#640EE8 #873FF4 #AB79F7 #CFB3FA #EDE2FD

Accessibility & contrast

On white

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

On black

6.81
#AB79F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79F7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79F7#FFFFFF#000000##000000
##AB79F71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#9C91AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab79f7;
/* rgb */ color: rgb(171, 121, 247);
/* oklch */ color: oklch(68.1% 0.183 299.9);
Tailwind
colors: {
  custom: {
    50: '#c7a1fa',
    500: '#ab79f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab79f7;
$custom-light: #c7a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79f7",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 263.81,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68086,
    "c": 0.18292,
    "h": 299.9
  },
  "luminance": 0.29048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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