#AB79EC#AB79EC

#AB79EC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.170 H 302.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB79EC
RGBrgb(171, 121, 236)
HSLhsl(266, 75%, 70%)
HSVhsv(266, 49%, 93%)
CMYKcmyk(27.5%, 48.7%, 0%, 7.5%)
CIE-LABlab(60.24, 42.20, -51.09)
CIE-LCHlch(60.24, 66.26, 309.55°)
OKLaboklab(67.46% 0.0902 -0.1435)
OKLCHoklch(67.46% 0.17 302.1)
XYZxyz(38.7689, 28.3888, 82.7777)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79EC #BAEC79
analogous
#7981EC #AB79EC #E479EC
triadic
#AB79EC #ECAB79 #79ECAB
tetradic
#AB79EC #EC7981 #BAEC79 #79ECE4
square
#AB79EC #EC7981 #BAEC79 #79ECE4
split-complementary
#AB79EC #ECE479 #81EC79
monochromatic
#6A1DCD #8943E4 #AB79EC #CDAFF4 #EEE4FB

Accessibility & contrast

On white

3.14
#AB79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AB79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79EC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79EC#FFFFFF#000000##000000
##AB79EC1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#9F8EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab79ec;
/* rgb */ color: rgb(171, 121, 236);
/* oklch */ color: oklch(67.5% 0.170 302.1);
Tailwind
colors: {
  custom: {
    50: '#c7a1f3',
    500: '#ab79ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab79ec;
$custom-light: #c7a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79ec",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 266.087,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.67461,
    "c": 0.1695,
    "h": 302.1
  },
  "luminance": 0.28389
}

Semantic roles & 50–950 ramp

primary
#AB79EC
secondary
#E2F0D0
accent
#D70E80
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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