#AB79CE#AB79CE

#AB79CE is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.9% C 0.133 H 310.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB79CE
RGBrgb(171, 121, 206)
HSLhsl(275, 46%, 64%)
HSVhsv(275, 41%, 81%)
CMYKcmyk(17%, 41.3%, 0%, 19.2%)
CIE-LABlab(58.78, 35.27, -36.59)
CIE-LCHlch(58.78, 50.83, 313.95°)
OKLaboklab(65.89% 0.0858 -0.1014)
OKLCHoklch(65.89% 0.133 310.2)
XYZxyz(34.7705, 26.7894, 61.7197)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79CE #9CCE79
analogous
#8179CE #AB79CE #CE79C7
triadic
#AB79CE #CEAB79 #79CEAB
tetradic
#AB79CE #CE8179 #9CCE79 #79C7CE
square
#AB79CE #CE8179 #9CCE79 #79C7CE
split-complementary
#AB79CE #C7CE79 #79CE81
monochromatic
#6F3796 #8F4CBE #AB79CE #C7A6DE #E3D3EF

Accessibility & contrast

On white

3.30
#AB79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AB79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79CE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79CE#FFFFFF#000000##000000
##AB79CE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#748ECC
Tritanopia (blue-blind)
#A7869A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab79ce;
/* rgb */ color: rgb(171, 121, 206);
/* oklch */ color: oklch(65.9% 0.133 310.2);
Tailwind
colors: {
  custom: {
    50: '#c5a0dd',
    500: '#ab79ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab79ce;
$custom-light: #c5a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79ce",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 275.294,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65892,
    "c": 0.13288,
    "h": 310.2
  },
  "luminance": 0.26789
}

Semantic roles & 50–950 ramp

primary
#AB79CE
secondary
#CFE0C3
accent
#BA2C66
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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