#AB78CA#AB78CA

#AB78CA is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.5% C 0.130 H 311.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB78CA
RGBrgb(171, 120, 202)
HSLhsl(277, 44%, 63%)
HSVhsv(277, 41%, 79%)
CMYKcmyk(15.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(58.37, 34.95, -34.96)
CIE-LCHlch(58.37, 49.44, 314.99°)
OKLaboklab(65.53% 0.0865 -0.0967)
OKLCHoklch(65.53% 0.13 311.8)
XYZxyz(34.1699, 26.3557, 59.1528)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78CA #97CA78
analogous
#8278CA #AB78CA #CA78C0
triadic
#AB78CA #CAAB78 #78CAAB
tetradic
#AB78CA #CA8278 #97CA78 #78C0CA
square
#AB78CA #CA8278 #97CA78 #78C0CA
split-complementary
#AB78CA #C0CA78 #78CA82
monochromatic
#6E388F #904CB9 #AB78CA #C6A4DB #E2D0ED

Accessibility & contrast

On white

3.35
#AB78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AB78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78CA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78CA#FFFFFF#000000##000000
##AB78CA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#758DC8
Tritanopia (blue-blind)
#A88497
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab78ca;
/* rgb */ color: rgb(171, 120, 202);
/* oklch */ color: oklch(65.5% 0.130 311.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0da',
    500: '#ab78ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab78ca;
$custom-light: #c5a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78ca",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 277.317,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.12978,
    "h": 311.8
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#AB78CA
secondary
#CBDEC0
accent
#B72F62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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