#AB78DF#AB78DF

#AB78DF is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.6% C 0.155 H 305.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB78DF
RGBrgb(171, 120, 223)
HSLhsl(270, 62%, 67%)
HSVhsv(270, 46%, 87%)
CMYKcmyk(23.3%, 46.2%, 0%, 12.5%)
CIE-LABlab(59.36, 39.69, -45.23)
CIE-LCHlch(59.36, 60.18, 311.26°)
OKLaboklab(66.59% 0.09 -0.1265)
OKLCHoklch(66.59% 0.155 305.4)
XYZxyz(36.8276, 27.4188, 73.1500)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78DF #ACDF78
analogous
#7878DF #AB78DF #DF78DF
triadic
#AB78DF #DFAB78 #78DFAB
tetradic
#AB78DF #DF7878 #ACDF78 #78DFDF
square
#AB78DF #DF7878 #ACDF78 #78DFDF
split-complementary
#AB78DF #DFDF78 #78DF78
monochromatic
#6E2AB2 #8C47D3 #AB78DF #CAA9EB #E9DBF6

Accessibility & contrast

On white

3.24
#AB78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AB78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78DF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78DF#FFFFFF#000000##000000
##AB78DF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#A389A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab78df;
/* rgb */ color: rgb(171, 120, 223);
/* oklch */ color: oklch(66.6% 0.155 305.4);
Tailwind
colors: {
  custom: {
    50: '#c6a0e9',
    500: '#ab78df',
    950: '#000000',
  },
}
SCSS
$custom: #ab78df;
$custom-light: #c6a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78df",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 269.709,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.15521,
    "h": 305.4
  },
  "luminance": 0.27419
}

Semantic roles & 50–950 ramp

primary
#AB78DF
secondary
#DAEAC9
accent
#C91C74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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