#AB79FC#AB79FC

#AB79FC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.189 H 298.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AB79FC
RGBrgb(171, 121, 252)
HSLhsl(263, 96%, 73%)
HSVhsv(263, 52%, 99%)
CMYKcmyk(32.1%, 52%, 0%, 1.2%)
CIE-LABlab(61.10, 46.08, -58.57)
CIE-LCHlch(61.10, 74.52, 308.19°)
OKLaboklab(68.38% 0.0915 -0.1654)
OKLCHoklch(68.38% 0.189 298.9)
XYZxyz(41.1984, 29.3606, 95.5732)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79FC #CAFC79
analogous
#7988FC #AB79FC #ED79FC
triadic
#AB79FC #FCAB79 #79FCAB
tetradic
#AB79FC #FC7988 #CAFC79 #79FCED
square
#AB79FC #FC7988 #CAFC79 #79FCED
split-complementary
#AB79FC #FCED79 #88FC79
monochromatic
#6105F5 #853DFB #AB79FC #D1B5FD #ECE1FE

Accessibility & contrast

On white

3.06
#AB79FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#AB79FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79FC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79FC#FFFFFF#000000##000000
##AB79FC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5692F9
Tritanopia (blue-blind)
#9A93AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab79fc;
/* rgb */ color: rgb(171, 121, 252);
/* oklch */ color: oklch(68.4% 0.189 298.9);
Tailwind
colors: {
  custom: {
    50: '#c8a1fe',
    500: '#ab79fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab79fc;
$custom-light: #c8a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79fc",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 262.901,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68379,
    "c": 0.18899,
    "h": 298.9
  },
  "luminance": 0.29361
}

Semantic roles & 50–950 ramp

primary
#AB79FC
secondary
#EAF7D4
accent
#E6008E
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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