#AB78FA#AB78FA

#AB78FA is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.188 H 299.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AB78FA
RGBrgb(171, 120, 250)
HSLhsl(264, 93%, 73%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(31.6%, 52%, 0%, 2%)
CIE-LABlab(60.78, 46.13, -57.98)
CIE-LCHlch(60.78, 74.09, 308.51°)
OKLaboklab(68.1% 0.0926 -0.1637)
OKLCHoklch(68.1% 0.188 299.5)
XYZxyz(40.7622, 28.9927, 93.8726)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78FA #C7FA78
analogous
#7886FA #AB78FA #EC78FA
triadic
#AB78FA #FAAB78 #78FAAB
tetradic
#AB78FA #FA7886 #C7FA78 #78FAEC
square
#AB78FA #FA7886 #C7FA78 #78FAEC
split-complementary
#AB78FA #FAEC78 #86FA78
monochromatic
#6309EF #863DF8 #AB78FA #D0B3FC #EDE1FE

Accessibility & contrast

On white

3.09
#AB78FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AB78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78FA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78FA#FFFFFF#000000##000000
##AB78FA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#9B91AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab78fa;
/* rgb */ color: rgb(171, 120, 250);
/* oklch */ color: oklch(68.1% 0.188 299.5);
Tailwind
colors: {
  custom: {
    50: '#c8a0fc',
    500: '#ab78fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab78fa;
$custom-light: #c8a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78fa",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 263.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68104,
    "c": 0.18804,
    "h": 299.5
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

primary
#AB78FA
secondary
#E9F6D5
accent
#E6008B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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