#AB78EE#AB78EE

#AB78EE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.173 H 301.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB78EE
RGBrgb(171, 120, 238)
HSLhsl(266, 78%, 70%)
HSVhsv(266, 50%, 93%)
CMYKcmyk(28.2%, 49.6%, 0%, 6.7%)
CIE-LABlab(60.13, 43.22, -52.38)
CIE-LCHlch(60.13, 67.91, 309.53°)
OKLaboklab(67.41% 0.0917 -0.1473)
OKLCHoklch(67.41% 0.173 301.9)
XYZxyz(38.9402, 28.2638, 84.2763)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78EE #BBEE78
analogous
#7880EE #AB78EE #E678EE
triadic
#AB78EE #EEAB78 #78EEAB
tetradic
#AB78EE #EE7880 #BBEE78 #78EEE6
square
#AB78EE #EE7880 #BBEE78 #78EEE6
split-complementary
#AB78EE #EEE678 #80EE78
monochromatic
#691AD1 #8942E7 #AB78EE #CDAEF5 #EEE4FC

Accessibility & contrast

On white

3.16
#AB78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AB78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78EE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78EE#FFFFFF#000000##000000
##AB78EE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#6090EB
Tritanopia (blue-blind)
#9E8EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab78ee;
/* rgb */ color: rgb(171, 120, 238);
/* oklch */ color: oklch(67.4% 0.173 301.9);
Tailwind
colors: {
  custom: {
    50: '#c7a0f4',
    500: '#ab78ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab78ee;
$custom-light: #c7a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78ee",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 265.932,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.17349,
    "h": 301.9
  },
  "luminance": 0.28264
}

Semantic roles & 50–950 ramp

primary
#AB78EE
secondary
#E3F1D1
accent
#DA0C81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AB78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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