#AB79FE#AB79FE

#AB79FE is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.191 H 298.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#AB79FE
RGBrgb(171, 121, 254)
HSLhsl(263, 99%, 74%)
HSVhsv(263, 52%, 100%)
CMYKcmyk(32.7%, 52.4%, 0%, 0.4%)
CIE-LABlab(61.21, 46.57, -59.49)
CIE-LCHlch(61.21, 75.55, 308.06°)
OKLaboklab(68.5% 0.0916 -0.1681)
OKLCHoklch(68.5% 0.191 298.6)
XYZxyz(41.5170, 29.4880, 97.2512)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79FE #CCFE79
analogous
#7989FE #AB79FE #ED79FE
triadic
#AB79FE #FEAB79 #79FEAB
tetradic
#AB79FE #FE7989 #CCFE79 #79FEED
square
#AB79FE #FE7989 #CCFE79 #79FEED
split-complementary
#AB79FE #FEED79 #89FE79
monochromatic
#5F02FB #853CFE #AB79FE #D1B6FE #ECE1FF

Accessibility & contrast

On white

3.04
#AB79FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#AB79FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79FE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79FE#FFFFFF#000000##000000
##AB79FE1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#9993B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab79fe;
/* rgb */ color: rgb(171, 121, 254);
/* oklch */ color: oklch(68.5% 0.191 298.6);
Tailwind
colors: {
  custom: {
    50: '#c8a1ff',
    500: '#ab79fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab79fe;
$custom-light: #c8a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79fe",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 262.556,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.19141,
    "h": 298.6
  },
  "luminance": 0.29488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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