#AB78FF#AB78FF

#AB78FF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.194 H 298.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB78FF
RGBrgb(171, 120, 255)
HSLhsl(263, 100%, 74%)
HSVhsv(263, 53%, 100%)
CMYKcmyk(32.9%, 52.9%, 0%, 0%)
CIE-LABlab(61.05, 47.36, -60.29)
CIE-LCHlch(61.05, 76.66, 308.15°)
OKLaboklab(68.4% 0.0929 -0.1704)
OKLCHoklch(68.4% 0.194 298.6)
XYZxyz(41.5567, 29.3104, 98.0564)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78FF #CCFF78
analogous
#7888FF #AB78FF #EF78FF
triadic
#AB78FF #FFAB78 #78FFAB
tetradic
#AB78FF #FF7888 #CCFF78 #78FFEF
square
#AB78FF #FF7888 #CCFF78 #78FFEF
split-complementary
#AB78FF #FFEF78 #88FF78
monochromatic
#5F00FD #853BFF #AB78FF #D1B5FF #ECE0FF

Accessibility & contrast

On white

3.06
#AB78FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#AB78FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78FF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78FF#FFFFFF#000000##000000
##AB78FF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#9993B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab78ff;
/* rgb */ color: rgb(171, 120, 255);
/* oklch */ color: oklch(68.4% 0.194 298.6);
Tailwind
colors: {
  custom: {
    50: '#c8a0ff',
    500: '#ab78ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab78ff;
$custom-light: #c8a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78ff",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 262.667,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68401,
    "c": 0.19408,
    "h": 298.6
  },
  "luminance": 0.29311
}

Semantic roles & 50–950 ramp

primary
#AB78FF
secondary
#EAF7D4
accent
#E6008F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AB78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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