#AB78CE#AB78CE

#AB78CE is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.7% C 0.135 H 310.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB78CE
RGBrgb(171, 120, 206)
HSLhsl(276, 47%, 64%)
HSVhsv(276, 42%, 81%)
CMYKcmyk(17%, 41.7%, 0%, 19.2%)
CIE-LABlab(58.55, 35.83, -36.94)
CIE-LCHlch(58.55, 51.47, 314.12°)
OKLaboklab(65.72% 0.0873 -0.1024)
OKLCHoklch(65.72% 0.135 310.4)
XYZxyz(34.6496, 26.5476, 61.6794)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78CE #9BCE78
analogous
#8078CE #AB78CE #CE78C6
triadic
#AB78CE #CEAB78 #78CEAB
tetradic
#AB78CE #CE8078 #9BCE78 #78C6CE
square
#AB78CE #CE8078 #9BCE78 #78C6CE
split-complementary
#AB78CE #C6CE78 #78CE80
monochromatic
#6F3695 #8F4BBE #AB78CE #C7A5DE #E3D2EF

Accessibility & contrast

On white

3.33
#AB78CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AB78CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78CE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78CE#FFFFFF#000000##000000
##AB78CE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#A78599
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab78ce;
/* rgb */ color: rgb(171, 120, 206);
/* oklch */ color: oklch(65.7% 0.135 310.4);
Tailwind
colors: {
  custom: {
    50: '#c5a0dd',
    500: '#ab78ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab78ce;
$custom-light: #c5a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78ce",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 275.581,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65722,
    "c": 0.13458,
    "h": 310.4
  },
  "luminance": 0.26547
}

Semantic roles & 50–950 ramp

primary
#AB78CE
secondary
#CEE0C2
accent
#BA2C66
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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