#AB78EA#AB78EA

#AB78EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.169 H 302.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AB78EA
RGBrgb(171, 120, 234)
HSLhsl(267, 73%, 69%)
HSVhsv(267, 49%, 92%)
CMYKcmyk(26.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.92, 42.27, -50.49)
CIE-LCHlch(59.92, 65.85, 309.94°)
OKLaboklab(67.19% 0.0913 -0.1418)
OKLCHoklch(67.19% 0.169 302.8)
XYZxyz(38.3590, 28.0314, 81.2157)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78EA #B7EA78
analogous
#787EEA #AB78EA #E478EA
triadic
#AB78EA #EAAB78 #78EAAB
tetradic
#AB78EA #EA787E #B7EA78 #78EAE4
square
#AB78EA #EA787E #B7EA78 #78EAE4
split-complementary
#AB78EA #EAE478 #7EEA78
monochromatic
#6B1FC8 #8A43E2 #AB78EA #CCADF2 #EDE2FA

Accessibility & contrast

On white

3.18
#AB78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AB78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78EA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78EA#FFFFFF#000000##000000
##AB78EA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#558FEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#A08DA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab78ea;
/* rgb */ color: rgb(171, 120, 234);
/* oklch */ color: oklch(67.2% 0.169 302.8);
Tailwind
colors: {
  custom: {
    50: '#c7a0f1',
    500: '#ab78ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab78ea;
$custom-light: #c7a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78ea",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 266.842,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.16863,
    "h": 302.8
  },
  "luminance": 0.28031
}

Semantic roles & 50–950 ramp

primary
#AB78EA
secondary
#E1EFCE
accent
#D5107D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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