#AB79E7#AB79E7

#AB79E7 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.163 H 303.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB79E7
RGBrgb(171, 121, 231)
HSLhsl(267, 70%, 69%)
HSVhsv(267, 48%, 91%)
CMYKcmyk(26%, 47.6%, 0%, 9.4%)
CIE-LABlab(59.98, 41.01, -48.72)
CIE-LCHlch(59.98, 63.68, 310.09°)
OKLaboklab(67.19% 0.0896 -0.1366)
OKLCHoklch(67.19% 0.163 303.3)
XYZxyz(38.0526, 28.1023, 79.0054)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79E7 #B5E779
analogous
#797EE7 #AB79E7 #E279E7
triadic
#AB79E7 #E7AB79 #79E7AB
tetradic
#AB79E7 #E7797E #B5E779 #79E7E2
square
#AB79E7 #E7797E #B5E779 #79E7E2
split-complementary
#AB79E7 #E7E279 #7EE779
monochromatic
#6C23C3 #8A45DE #AB79E7 #CCADF0 #ECE1FA

Accessibility & contrast

On white

3.17
#AB79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AB79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79E7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79E7#FFFFFF#000000##000000
##AB79E71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#A08CA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab79e7;
/* rgb */ color: rgb(171, 121, 231);
/* oklch */ color: oklch(67.2% 0.163 303.3);
Tailwind
colors: {
  custom: {
    50: '#c6a1ef',
    500: '#ab79e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab79e7;
$custom-light: #c6a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79e7",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 267.273,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.16339,
    "h": 303.3
  },
  "luminance": 0.28102
}

Semantic roles & 50–950 ramp

primary
#AB79E7
secondary
#DFEECE
accent
#D2147B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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