#AB79DF#AB79DF

#AB79DF is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.8% C 0.154 H 305.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB79DF
RGBrgb(171, 121, 223)
HSLhsl(269, 61%, 67%)
HSVhsv(269, 46%, 87%)
CMYKcmyk(23.3%, 45.7%, 0%, 12.5%)
CIE-LABlab(59.58, 39.13, -44.89)
CIE-LCHlch(59.58, 59.55, 311.08°)
OKLaboklab(66.76% 0.0886 -0.1254)
OKLCHoklch(66.76% 0.154 305.2)
XYZxyz(36.9485, 27.6606, 73.1903)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79DF #ADDF79
analogous
#797ADF #AB79DF #DE79DF
triadic
#AB79DF #DFAB79 #79DFAB
tetradic
#AB79DF #DF797A #ADDF79 #79DFDE
square
#AB79DF #DF797A #ADDF79 #79DFDE
split-complementary
#AB79DF #DFDE79 #7ADF79
monochromatic
#6D2BB3 #8C48D3 #AB79DF #CAAAEB #E9DCF7

Accessibility & contrast

On white

3.21
#AB79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AB79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79DF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79DF#FFFFFF#000000##000000
##AB79DF1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#A38AA1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab79df;
/* rgb */ color: rgb(171, 121, 223);
/* oklch */ color: oklch(66.8% 0.154 305.2);
Tailwind
colors: {
  custom: {
    50: '#c6a1e9',
    500: '#ab79df',
    950: '#000000',
  },
}
SCSS
$custom: #ab79df;
$custom-light: #c6a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79df",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 269.412,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.15359,
    "h": 305.2
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#AB79DF
secondary
#DAEACA
accent
#C91C74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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