#AB78DA#AB78DA

#AB78DA is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.3% C 0.149 H 306.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AB78DA
RGBrgb(171, 120, 218)
HSLhsl(271, 57%, 66%)
HSVhsv(271, 45%, 85%)
CMYKcmyk(21.6%, 45%, 0%, 14.5%)
CIE-LABlab(59.12, 38.54, -42.82)
CIE-LCHlch(59.12, 57.60, 311.99°)
OKLaboklab(66.33% 0.0893 -0.1194)
OKLCHoklch(66.33% 0.149 306.8)
XYZxyz(36.1634, 27.1531, 69.6520)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78DA #A7DA78
analogous
#7A78DA #AB78DA #DA78D8
triadic
#AB78DA #DAAB78 #78DAAB
tetradic
#AB78DA #DA7A78 #A7DA78 #78D8DA
square
#AB78DA #DA7A78 #A7DA78 #78D8DA
split-complementary
#AB78DA #D8DA78 #78DA7A
monochromatic
#6E2EA9 #8D48CD #AB78DA #C9A8E7 #E7D8F4

Accessibility & contrast

On white

3.27
#AB78DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AB78DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78DA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78DA#FFFFFF#000000##000000
##AB78DA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDE
Deuteranopia (green-blind)
#6C8FD7
Tritanopia (blue-blind)
#A4889F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab78da;
/* rgb */ color: rgb(171, 120, 218);
/* oklch */ color: oklch(66.3% 0.149 306.8);
Tailwind
colors: {
  custom: {
    50: '#c6a0e6',
    500: '#ab78da',
    950: '#000000',
  },
}
SCSS
$custom: #ab78da;
$custom-light: #c6a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78da",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 271.224,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.14912,
    "h": 306.8
  },
  "luminance": 0.27153
}

Semantic roles & 50–950 ramp

primary
#AB78DA
secondary
#D6E7C7
accent
#C5216F
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AB78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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