#AB79EB#AB79EB

#AB79EB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.168 H 302.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB79EB
RGBrgb(171, 121, 235)
HSLhsl(266, 74%, 70%)
HSVhsv(266, 49%, 92%)
CMYKcmyk(27.2%, 48.5%, 0%, 7.8%)
CIE-LABlab(60.19, 41.96, -50.62)
CIE-LCHlch(60.19, 65.75, 309.66°)
OKLaboklab(67.41% 0.0901 -0.1421)
OKLCHoklch(67.41% 0.168 302.4)
XYZxyz(38.6240, 28.3308, 82.0147)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79EB #B9EB79
analogous
#7980EB #AB79EB #E479EB
triadic
#AB79EB #EBAB79 #79EBAB
tetradic
#AB79EB #EB7980 #B9EB79 #79EBE4
square
#AB79EB #EB7980 #B9EB79 #79EBE4
split-complementary
#AB79EB #EBE479 #80EB79
monochromatic
#6A1ECB #8A44E3 #AB79EB #CCAEF3 #EEE4FB

Accessibility & contrast

On white

3.15
#AB79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AB79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79EB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79EB#FFFFFF#000000##000000
##AB79EB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#9F8EA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab79eb;
/* rgb */ color: rgb(171, 121, 235);
/* oklch */ color: oklch(67.4% 0.168 302.4);
Tailwind
colors: {
  custom: {
    50: '#c7a1f2',
    500: '#ab79eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab79eb;
$custom-light: #c7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79eb",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 266.316,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67406,
    "c": 0.16828,
    "h": 302.4
  },
  "luminance": 0.28331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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