#AB79F2#AB79F2

#AB79F2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.177 H 300.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AB79F2
RGBrgb(171, 121, 242)
HSLhsl(265, 82%, 71%)
HSVhsv(265, 50%, 95%)
CMYKcmyk(29.3%, 50%, 0%, 5.1%)
CIE-LABlab(60.55, 43.64, -53.91)
CIE-LCHlch(60.55, 69.36, 308.99°)
OKLaboklab(67.8% 0.0907 -0.1518)
OKLCHoklch(67.8% 0.177 300.9)
XYZxyz(39.6553, 28.7433, 87.4460)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79F2 #C0F279
analogous
#7983F2 #AB79F2 #E779F2
triadic
#AB79F2 #F2AB79 #79F2AB
tetradic
#AB79F2 #F27983 #C0F279 #79F2E7
square
#AB79F2 #F27983 #C0F279 #79F2E7
split-complementary
#AB79F2 #F2E779 #83F279
monochromatic
#6715DB #8841ED #AB79F2 #CEB1F7 #EEE3FC

Accessibility & contrast

On white

3.11
#AB79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AB79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79F2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79F2#FFFFFF#000000##000000
##AB79F21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#9D90AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab79f2;
/* rgb */ color: rgb(171, 121, 242);
/* oklch */ color: oklch(67.8% 0.177 300.9);
Tailwind
colors: {
  custom: {
    50: '#c7a1f7',
    500: '#ab79f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab79f2;
$custom-light: #c7a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79f2",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 264.793,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67799,
    "c": 0.17683,
    "h": 300.9
  },
  "luminance": 0.28743
}

Semantic roles & 50–950 ramp

primary
#AB79F2
secondary
#E6F3D3
accent
#DF0785
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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