#AB78F9#AB78F9

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

Color values

HEX#AB78F9
RGBrgb(171, 120, 249)
HSLhsl(264, 91%, 72%)
HSVhsv(264, 52%, 98%)
CMYKcmyk(31.3%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.72, 45.89, -57.52)
CIE-LCHlch(60.72, 73.58, 308.58°)
OKLaboklab(68.05% 0.0925 -0.1623)
OKLCHoklch(68.05% 0.187 299.7)
XYZxyz(40.6059, 28.9301, 93.0490)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78F9 #C6F978
analogous
#7886F9 #AB78F9 #EB78F9
triadic
#AB78F9 #F9AB78 #78F9AB
tetradic
#AB78F9 #F97886 #C6F978 #78F9EB
square
#AB78F9 #F97886 #C6F978 #78F9EB
split-complementary
#AB78F9 #F9EB78 #86F978
monochromatic
#640AEC #873DF6 #AB78F9 #CFB3FC #EDE2FE

Accessibility & contrast

On white

3.09
#AB78F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AB78F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78F9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78F9#FFFFFF#000000##000000
##AB78F91.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#5791F6
Tritanopia (blue-blind)
#9B91AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab78f9;
/* rgb */ color: rgb(171, 120, 249);
/* oklch */ color: oklch(68.0% 0.187 299.7);
Tailwind
colors: {
  custom: {
    50: '#c7a0fc',
    500: '#ab78f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab78f9;
$custom-light: #c7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78f9",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 263.721,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68045,
    "c": 0.18684,
    "h": 299.7
  },
  "luminance": 0.2893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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