#AB79EF#AB79EF

#AB79EF is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.173 H 301.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB79EF
RGBrgb(171, 121, 239)
HSLhsl(265, 79%, 71%)
HSVhsv(265, 49%, 94%)
CMYKcmyk(28.5%, 49.4%, 0%, 6.3%)
CIE-LABlab(60.40, 42.92, -52.51)
CIE-LCHlch(60.40, 67.81, 309.26°)
OKLaboklab(67.63% 0.0905 -0.1477)
OKLCHoklch(67.63% 0.173 301.5)
XYZxyz(39.2084, 28.5646, 85.0925)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79EF #BDEF79
analogous
#7982EF #AB79EF #E679EF
triadic
#AB79EF #EFAB79 #79EFAB
tetradic
#AB79EF #EF7982 #BDEF79 #79EFE6
square
#AB79EF #EF7982 #BDEF79 #79EFE6
split-complementary
#AB79EF #EFE679 #82EF79
monochromatic
#6919D4 #8942E8 #AB79EF #CDB0F6 #EEE4FC

Accessibility & contrast

On white

3.13
#AB79EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AB79EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79EF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79EF#FFFFFF#000000##000000
##AB79EF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#9E8FA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab79ef;
/* rgb */ color: rgb(171, 121, 239);
/* oklch */ color: oklch(67.6% 0.173 301.5);
Tailwind
colors: {
  custom: {
    50: '#c7a1f5',
    500: '#ab79ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab79ef;
$custom-light: #c7a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79ef",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 265.424,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67629,
    "c": 0.17317,
    "h": 301.5
  },
  "luminance": 0.28565
}

Semantic roles & 50–950 ramp

primary
#AB79EF
secondary
#E4F2D2
accent
#DB0B83
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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