#AB78CB#AB78CB

#AB78CB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.6% C 0.131 H 311.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB78CB
RGBrgb(171, 120, 203)
HSLhsl(277, 44%, 63%)
HSVhsv(277, 41%, 80%)
CMYKcmyk(15.8%, 40.9%, 0%, 20.4%)
CIE-LABlab(58.42, 35.17, -35.46)
CIE-LCHlch(58.42, 49.94, 314.77°)
OKLaboklab(65.58% 0.0867 -0.0982)
OKLCHoklch(65.58% 0.131 311.4)
XYZxyz(34.2887, 26.4032, 59.7784)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78CB #98CB78
analogous
#8178CB #AB78CB #CB78C2
triadic
#AB78CB #CBAB78 #78CBAB
tetradic
#AB78CB #CB8178 #98CB78 #78C2CB
square
#AB78CB #CB8178 #98CB78 #78C2CB
split-complementary
#AB78CB #C2CB78 #78CB81
monochromatic
#6E3891 #904CBA #AB78CB #C6A4DC #E2D0ED

Accessibility & contrast

On white

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

On black

6.28
#AB78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78CB#FFFFFF#000000##000000
##AB78CB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#A88498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab78cb;
/* rgb */ color: rgb(171, 120, 203);
/* oklch */ color: oklch(65.6% 0.131 311.4);
Tailwind
colors: {
  custom: {
    50: '#c5a0db',
    500: '#ab78cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab78cb;
$custom-light: #c5a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78cb",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 276.867,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65576,
    "c": 0.13097,
    "h": 311.4
  },
  "luminance": 0.26403
}

Semantic roles & 50–950 ramp

primary
#AB78CB
secondary
#CCDEC1
accent
#B82E63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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