#AB78FB#AB78FB

#AB78FB is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.189 H 299.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB78FB
RGBrgb(171, 120, 251)
HSLhsl(263, 94%, 73%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(31.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.83, 46.38, -58.44)
CIE-LCHlch(60.83, 74.61, 308.43°)
OKLaboklab(68.16% 0.0927 -0.165)
OKLCHoklch(68.16% 0.189 299.3)
XYZxyz(40.9195, 29.0556, 94.7006)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78FB #C8FB78
analogous
#7886FB #AB78FB #ED78FB
triadic
#AB78FB #FBAB78 #78FBAB
tetradic
#AB78FB #FB7886 #C8FB78 #78FBED
square
#AB78FB #FB7886 #C8FB78 #78FBED
split-complementary
#AB78FB #FBED78 #86FB78
monochromatic
#6207F1 #863DF9 #AB78FB #D0B3FD #EDE1FE

Accessibility & contrast

On white

3.08
#AB78FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#AB78FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78FB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78FB#FFFFFF#000000##000000
##AB78FB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#9A91AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab78fb;
/* rgb */ color: rgb(171, 120, 251);
/* oklch */ color: oklch(68.2% 0.189 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8a0fd',
    500: '#ab78fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab78fb;
$custom-light: #c8a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78fb",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 263.359,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.18926,
    "h": 299.3
  },
  "luminance": 0.29056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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