#AB79DE#AB79DE

#AB79DE is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.7% C 0.152 H 305.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB79DE
RGBrgb(171, 121, 222)
HSLhsl(270, 60%, 67%)
HSVhsv(270, 45%, 87%)
CMYKcmyk(23%, 45.5%, 0%, 12.9%)
CIE-LABlab(59.53, 38.90, -44.40)
CIE-LCHlch(59.53, 59.03, 311.22°)
OKLaboklab(66.7% 0.0885 -0.124)
OKLCHoklch(66.7% 0.152 305.5)
XYZxyz(36.8140, 27.6068, 72.4823)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79DE #ACDE79
analogous
#797ADE #AB79DE #DE79DE
triadic
#AB79DE #DEAB79 #79DEAB
tetradic
#AB79DE #DE797A #ACDE79 #79DEDE
square
#AB79DE #DE797A #ACDE79 #79DEDE
split-complementary
#AB79DE #DEDE79 #7ADE79
monochromatic
#6E2CB1 #8C48D2 #AB79DE #CAAAEA #E9DBF6

Accessibility & contrast

On white

3.22
#AB79DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AB79DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79DE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79DE#FFFFFF#000000##000000
##AB79DE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab79de;
/* rgb */ color: rgb(171, 121, 222);
/* oklch */ color: oklch(66.7% 0.152 305.5);
Tailwind
colors: {
  custom: {
    50: '#c6a1e9',
    500: '#ab79de',
    950: '#000000',
  },
}
SCSS
$custom: #ab79de;
$custom-light: #c6a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79de",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 269.703,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.15237,
    "h": 305.5
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#AB79DE
secondary
#DAE9C9
accent
#C81D74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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