#AB78F5#AB78F5

#AB78F5 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.182 H 300.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB78F5
RGBrgb(171, 120, 245)
HSLhsl(264, 86%, 72%)
HSVhsv(264, 51%, 96%)
CMYKcmyk(30.2%, 51%, 0%, 3.9%)
CIE-LABlab(60.50, 44.91, -55.66)
CIE-LCHlch(60.50, 71.52, 308.90°)
OKLaboklab(67.81% 0.0923 -0.1569)
OKLCHoklch(67.81% 0.182 300.5)
XYZxyz(39.9886, 28.6832, 89.7982)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78F5 #C2F578
analogous
#7884F5 #AB78F5 #EA78F5
triadic
#AB78F5 #F5AB78 #78F5AB
tetradic
#AB78F5 #F57884 #C2F578 #78F5EA
square
#AB78F5 #F57884 #C2F578 #78F5EA
split-complementary
#AB78F5 #F5EA78 #84F578
monochromatic
#6611E2 #883FF1 #AB78F5 #CEB1F9 #EDE3FD

Accessibility & contrast

On white

3.12
#AB78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AB78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78F5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78F5#FFFFFF#000000##000000
##AB78F51.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#9C90AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab78f5;
/* rgb */ color: rgb(171, 120, 245);
/* oklch */ color: oklch(67.8% 0.182 300.5);
Tailwind
colors: {
  custom: {
    50: '#c7a0f9',
    500: '#ab78f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab78f5;
$custom-light: #c7a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78f5",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 264.48,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67812,
    "c": 0.18199,
    "h": 300.5
  },
  "luminance": 0.28683
}

Semantic roles & 50–950 ramp

primary
#AB78F5
secondary
#E7F4D4
accent
#E30387
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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