#AB79E2#AB79E2

#AB79E2 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.157 H 304.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB79E2
RGBrgb(171, 121, 226)
HSLhsl(269, 64%, 68%)
HSVhsv(269, 46%, 89%)
CMYKcmyk(24.3%, 46.5%, 0%, 11.4%)
CIE-LABlab(59.73, 39.83, -46.33)
CIE-LCHlch(59.73, 61.10, 310.69°)
OKLaboklab(66.92% 0.089 -0.1296)
OKLCHoklch(66.92% 0.157 304.5)
XYZxyz(37.3565, 27.8238, 75.3393)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79E2 #B0E279
analogous
#797CE2 #AB79E2 #DF79E2
triadic
#AB79E2 #E2AB79 #79E2AB
tetradic
#AB79E2 #E2797C #B0E279 #79E2DF
square
#AB79E2 #E2797C #B0E279 #79E2DF
split-complementary
#AB79E2 #E2DF79 #7CE279
monochromatic
#6D28B9 #8B47D7 #AB79E2 #CBABED #EADEF8

Accessibility & contrast

On white

3.20
#AB79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AB79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79E2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79E2#FFFFFF#000000##000000
##AB79E21.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#A28BA3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab79e2;
/* rgb */ color: rgb(171, 121, 226);
/* oklch */ color: oklch(66.9% 0.157 304.5);
Tailwind
colors: {
  custom: {
    50: '#c6a1eb',
    500: '#ab79e2',
    950: '#000000',
  },
}
SCSS
$custom: #ab79e2;
$custom-light: #c6a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79e2",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 268.571,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66915,
    "c": 0.15726,
    "h": 304.5
  },
  "luminance": 0.27824
}

Semantic roles & 50–950 ramp

primary
#AB79E2
secondary
#DCEBCB
accent
#CC1977
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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