#AB78CC#AB78CC

#AB78CC is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.6% C 0.132 H 311.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB78CC
RGBrgb(171, 120, 204)
HSLhsl(276, 45%, 64%)
HSVhsv(276, 41%, 80%)
CMYKcmyk(16.2%, 41.2%, 0%, 20%)
CIE-LABlab(58.46, 35.39, -35.96)
CIE-LCHlch(58.46, 50.45, 314.55°)
OKLaboklab(65.62% 0.0869 -0.0996)
OKLCHoklch(65.62% 0.132 311.1)
XYZxyz(34.4082, 26.4511, 60.4080)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78CC #99CC78
analogous
#8178CC #AB78CC #CC78C3
triadic
#AB78CC #CCAB78 #78CCAB
tetradic
#AB78CC #CC8178 #99CC78 #78C3CC
square
#AB78CC #CC8178 #99CC78 #78C3CC
split-complementary
#AB78CC #C3CC78 #78CC81
monochromatic
#6F3792 #8F4CBB #AB78CC #C7A4DD #E2D1EE

Accessibility & contrast

On white

3.34
#AB78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AB78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78CC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78CC#FFFFFF#000000##000000
##AB78CC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACF
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#A78498
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab78cc;
/* rgb */ color: rgb(171, 120, 204);
/* oklch */ color: oklch(65.6% 0.132 311.1);
Tailwind
colors: {
  custom: {
    50: '#c5a0dc',
    500: '#ab78cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab78cc;
$custom-light: #c5a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78cc",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 276.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.13218,
    "h": 311.1
  },
  "luminance": 0.26451
}

Semantic roles & 50–950 ramp

primary
#AB78CC
secondary
#CDDFC1
accent
#B82D64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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