#AB79FD#AB79FD

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

Color values

HEX#AB79FD
RGBrgb(171, 121, 253)
HSLhsl(263, 97%, 73%)
HSVhsv(263, 52%, 99%)
CMYKcmyk(32.4%, 52.2%, 0%, 0.8%)
CIE-LABlab(61.15, 46.32, -59.03)
CIE-LCHlch(61.15, 75.03, 308.12°)
OKLaboklab(68.44% 0.0915 -0.1667)
OKLCHoklch(68.44% 0.19 298.8)
XYZxyz(41.3573, 29.4241, 96.4100)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79FD #CBFD79
analogous
#7989FD #AB79FD #ED79FD
triadic
#AB79FD #FDAB79 #79FDAB
tetradic
#AB79FD #FD7989 #CBFD79 #79FDED
square
#AB79FD #FD7989 #CBFD79 #79FDED
split-complementary
#AB79FD #FDED79 #89FD79
monochromatic
#6004F8 #853DFC #AB79FD #D1B5FE #ECE1FF

Accessibility & contrast

On white

3.05
#AB79FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AB79FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79FD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79FD#FFFFFF#000000##000000
##AB79FD1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5592FA
Tritanopia (blue-blind)
#9A93B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab79fd;
/* rgb */ color: rgb(171, 121, 253);
/* oklch */ color: oklch(68.4% 0.190 298.8);
Tailwind
colors: {
  custom: {
    50: '#c8a1ff',
    500: '#ab79fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab79fd;
$custom-light: #c8a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79fd",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 262.727,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68438,
    "c": 0.19021,
    "h": 298.8
  },
  "luminance": 0.29425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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