#AB79FA#AB79FA

#AB79FA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.187 H 299.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AB79FA
RGBrgb(171, 121, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(31.6%, 51.6%, 0%, 2%)
CIE-LABlab(60.99, 45.59, -57.64)
CIE-LCHlch(60.99, 73.49, 308.34°)
OKLaboklab(68.26% 0.0913 -0.1627)
OKLCHoklch(68.26% 0.187 299.3)
XYZxyz(40.8831, 29.2345, 93.9129)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79FA #C8FA79
analogous
#7987FA #AB79FA #EC79FA
triadic
#AB79FA #FAAB79 #79FAAB
tetradic
#AB79FA #FA7987 #C8FA79 #79FAEC
square
#AB79FA #FA7987 #C8FA79 #79FAEC
split-complementary
#AB79FA #FAEC79 #87FA79
monochromatic
#6209F0 #863EF8 #AB79FA #D0B4FC #EDE2FE

Accessibility & contrast

On white

3.07
#AB79FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AB79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79FA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79FA#FFFFFF#000000##000000
##AB79FA1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#9B92AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab79fa;
/* rgb */ color: rgb(171, 121, 250);
/* oklch */ color: oklch(68.3% 0.187 299.3);
Tailwind
colors: {
  custom: {
    50: '#c7a1fc',
    500: '#ab79fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab79fa;
$custom-light: #c7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79fa",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 263.256,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.18657,
    "h": 299.3
  },
  "luminance": 0.29235
}

Semantic roles & 50–950 ramp

primary
#AB79FA
secondary
#E9F6D5
accent
#E6008D
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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