#AB79EA#AB79EA

#AB79EA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.167 H 302.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB79EA
RGBrgb(171, 121, 234)
HSLhsl(267, 73%, 70%)
HSVhsv(267, 48%, 92%)
CMYKcmyk(26.9%, 48.3%, 0%, 8.2%)
CIE-LABlab(60.13, 41.72, -50.14)
CIE-LCHlch(60.13, 65.23, 309.76°)
OKLaboklab(67.35% 0.09 -0.1408)
OKLCHoklch(67.35% 0.167 302.6)
XYZxyz(38.4799, 28.2732, 81.2560)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79EA #B8EA79
analogous
#7980EA #AB79EA #E479EA
triadic
#AB79EA #EAAB79 #79EAAB
tetradic
#AB79EA #EA7980 #B8EA79 #79EAE4
square
#AB79EA #EA7980 #B8EA79 #79EAE4
split-complementary
#AB79EA #EAE479 #80EA79
monochromatic
#6B20C9 #8A44E2 #AB79EA #CCAEF2 #EDE3FB

Accessibility & contrast

On white

3.16
#AB79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AB79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79EA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79EA#FFFFFF#000000##000000
##AB79EA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#A08DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab79ea;
/* rgb */ color: rgb(171, 121, 234);
/* oklch */ color: oklch(67.3% 0.167 302.6);
Tailwind
colors: {
  custom: {
    50: '#c7a1f1',
    500: '#ab79ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab79ea;
$custom-light: #c7a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79ea",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 266.549,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6735,
    "c": 0.16706,
    "h": 302.6
  },
  "luminance": 0.28273
}

Semantic roles & 50–950 ramp

primary
#AB79EA
secondary
#E1F0CF
accent
#D5117E
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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