#AB78F7#AB78F7

#AB78F7 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.184 H 300.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AB78F7
RGBrgb(171, 120, 247)
HSLhsl(264, 89%, 72%)
HSVhsv(264, 51%, 97%)
CMYKcmyk(30.8%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.61, 45.40, -56.59)
CIE-LCHlch(60.61, 72.55, 308.74°)
OKLaboklab(67.93% 0.0924 -0.1596)
OKLCHoklch(67.93% 0.184 300.1)
XYZxyz(40.2956, 28.8060, 91.4148)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78F7 #C4F778
analogous
#7885F7 #AB78F7 #EA78F7
triadic
#AB78F7 #F7AB78 #78F7AB
tetradic
#AB78F7 #F77885 #C4F778 #78F7EA
square
#AB78F7 #F77885 #C4F778 #78F7EA
split-complementary
#AB78F7 #F7EA78 #85F778
monochromatic
#650EE7 #873EF4 #AB78F7 #CFB2FA #EDE2FD

Accessibility & contrast

On white

3.11
#AB78F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#AB78F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78F7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78F7#FFFFFF#000000##000000
##AB78F71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#9C90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab78f7;
/* rgb */ color: rgb(171, 120, 247);
/* oklch */ color: oklch(67.9% 0.184 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7a0fa',
    500: '#ab78f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab78f7;
$custom-light: #c7a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78f7",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 264.094,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67928,
    "c": 0.18442,
    "h": 300.1
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

primary
#AB78F7
secondary
#E9F5D5
accent
#E50089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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