#AB79CA#AB79CA

#AB79CA is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.7% C 0.128 H 311.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB79CA
RGBrgb(171, 121, 202)
HSLhsl(277, 43%, 63%)
HSVhsv(277, 40%, 79%)
CMYKcmyk(15.3%, 40.1%, 0%, 20.8%)
CIE-LABlab(58.60, 34.39, -34.61)
CIE-LCHlch(58.60, 48.79, 314.82°)
OKLaboklab(65.7% 0.0851 -0.0957)
OKLCHoklch(65.7% 0.128 311.6)
XYZxyz(34.2908, 26.5975, 59.1931)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79CA #98CA79
analogous
#8279CA #AB79CA #CA79C0
triadic
#AB79CA #CAAB79 #79CAAB
tetradic
#AB79CA #CA8279 #98CA79 #79C0CA
square
#AB79CA #CA8279 #98CA79 #79C0CA
split-complementary
#AB79CA #C0CA79 #79CA82
monochromatic
#6E3990 #904DB9 #AB79CA #C6A5DB #E2D1ED

Accessibility & contrast

On white

3.32
#AB79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AB79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79CA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79CA#FFFFFF#000000##000000
##AB79CA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#A88598
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab79ca;
/* rgb */ color: rgb(171, 121, 202);
/* oklch */ color: oklch(65.7% 0.128 311.6);
Tailwind
colors: {
  custom: {
    50: '#c5a0da',
    500: '#ab79ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab79ca;
$custom-light: #c5a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79ca",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 277.037,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65698,
    "c": 0.12805,
    "h": 311.6
  },
  "luminance": 0.26597
}

Semantic roles & 50–950 ramp

primary
#AB79CA
secondary
#CCDEC1
accent
#B62F63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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