#AB79DA#AB79DA

#AB79DA is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.147 H 306.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB79DA
RGBrgb(171, 121, 218)
HSLhsl(271, 57%, 66%)
HSVhsv(271, 44%, 85%)
CMYKcmyk(21.6%, 44.5%, 0%, 14.5%)
CIE-LABlab(59.34, 37.98, -42.47)
CIE-LCHlch(59.34, 56.97, 311.81°)
OKLaboklab(66.5% 0.0879 -0.1184)
OKLCHoklch(66.5% 0.147 306.6)
XYZxyz(36.2843, 27.3949, 69.6923)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79DA #A8DA79
analogous
#7B79DA #AB79DA #DA79D9
triadic
#AB79DA #DAAB79 #79DAAB
tetradic
#AB79DA #DA7B79 #A8DA79 #79D9DA
square
#AB79DA #DA7B79 #A8DA79 #79D9DA
split-complementary
#AB79DA #D9DA79 #79DA7B
monochromatic
#6E2FAA #8D49CD #AB79DA #C9A9E7 #E7D9F4

Accessibility & contrast

On white

3.24
#AB79DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AB79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79DA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79DA#FFFFFF#000000##000000
##AB79DA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDE
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#A4899F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab79da;
/* rgb */ color: rgb(171, 121, 218);
/* oklch */ color: oklch(66.5% 0.147 306.6);
Tailwind
colors: {
  custom: {
    50: '#c6a0e6',
    500: '#ab79da',
    950: '#000000',
  },
}
SCSS
$custom: #ab79da;
$custom-light: #c6a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79da",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 270.928,
    "s": 56.725,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66495,
    "c": 0.14748,
    "h": 306.6
  },
  "luminance": 0.27395
}

Semantic roles & 50–950 ramp

primary
#AB79DA
secondary
#D7E7C8
accent
#C42170
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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