#AB78F8#AB78F8

#AB78F8 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.186 H 299.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AB78F8
RGBrgb(171, 120, 248)
HSLhsl(264, 90%, 72%)
HSVhsv(264, 52%, 97%)
CMYKcmyk(31%, 51.6%, 0%, 2.7%)
CIE-LABlab(60.66, 45.64, -57.05)
CIE-LCHlch(60.66, 73.06, 308.66°)
OKLaboklab(67.99% 0.0925 -0.161)
OKLCHoklch(67.99% 0.186 299.9)
XYZxyz(40.4503, 28.8679, 92.2297)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78F8 #C5F878
analogous
#7885F8 #AB78F8 #EB78F8
triadic
#AB78F8 #F8AB78 #78F8AB
tetradic
#AB78F8 #F87885 #C5F878 #78F8EB
square
#AB78F8 #F87885 #C5F878 #78F8EB
split-complementary
#AB78F8 #F8EB78 #85F878
monochromatic
#640CE9 #873EF5 #AB78F8 #CFB2FB #EDE2FD

Accessibility & contrast

On white

3.10
#AB78F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#AB78F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78F8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78F8#FFFFFF#000000##000000
##AB78F81.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#9B91AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab78f8;
/* rgb */ color: rgb(171, 120, 248);
/* oklch */ color: oklch(68.0% 0.186 299.9);
Tailwind
colors: {
  custom: {
    50: '#c7a0fb',
    500: '#ab78f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab78f8;
$custom-light: #c7a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78f8",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 263.906,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67986,
    "c": 0.18563,
    "h": 299.9
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#AB78F8
secondary
#E9F6D5
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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